diff options
| author | Cássio Gabriel <cassiogabrielcontato@gmail.com> | 2026-04-19 17:30:30 -0300 |
|---|---|---|
| committer | Takashi Iwai <tiwai@suse.de> | 2026-04-27 13:44:48 +0200 |
| commit | 0f25cf1f02e3dba626791d949c759a48c0a44996 (patch) | |
| tree | c13b22b96ceaa41140fcd287be38019053d7d4d2 /include/linux/debugobjects.h | |
| parent | 87a6f2fa6e6c69bb649fa327635a0bd977724603 (diff) | |
ALSA: usb-audio: Propagate errors in scarlett_ctl_enum_put()
scarlett_ctl_enum_put() ignores the return value from
snd_usb_set_cur_mix_value() and reports success whenever the
requested enum value differs from the current one.
If the SET_CUR request fails, the callback still returns success even
though neither the hardware state nor the cached mixer value changed.
Fixes: 76b188c4b370 ("ALSA: usb-audio: Scarlett mixer interface for 6i6, 18i6, 18i8 and 18i20")
Cc: stable@vger.kernel.org
Signed-off-by: Cássio Gabriel <cassiogabrielcontato@gmail.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Link: https://patch.msgid.link/20260419-usb-write-error-propagation-v1-2-5a3bd4a673ae@gmail.com
Diffstat (limited to 'include/linux/debugobjects.h')
0 files changed, 0 insertions, 0 deletions
