diff options
| author | Cássio Gabriel <cassiogabrielcontato@gmail.com> | 2026-04-19 17:30:29 -0300 |
|---|---|---|
| committer | Takashi Iwai <tiwai@suse.de> | 2026-04-27 13:44:48 +0200 |
| commit | 87a6f2fa6e6c69bb649fa327635a0bd977724603 (patch) | |
| tree | 7ea88cdc06f3b69c1a41187c460d87c3d239c828 /include/linux/debugobjects.h | |
| parent | b3163bf3ade1a62ba6da9f4b5ba65d3dd88204f5 (diff) | |
ALSA: usb-audio: Propagate write errors in generic mixer put callbacks
mixer_ctl_feature_put(), mixer_ctl_procunit_put(), and
mixer_ctl_selector_put() ignore failures from their SET_CUR helper
routines and report the control as changed whenever the requested
value differs from the current one.
If the device rejects the write, userspace still sees success although
the hardware state did not change. Propagate write failures instead,
using filter_error() so ignore_ctl_error keeps the same semantics as
the existing get paths.
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-1-5a3bd4a673ae@gmail.com
Diffstat (limited to 'include/linux/debugobjects.h')
0 files changed, 0 insertions, 0 deletions
