]> git.baikalelectronics.ru Git - kernel.git/commit
ALSA: usb-audio: Don't override ignore_ctl_error value from the map
authorTakashi Iwai <tiwai@suse.de>
Sun, 12 Apr 2020 08:13:29 +0000 (10:13 +0200)
committerTakashi Iwai <tiwai@suse.de>
Sun, 12 Apr 2020 08:14:44 +0000 (10:14 +0200)
commita9b7f6201d5f64633deea6d467407f4a3b0f3d2c
treeea972eec35593f22983d84777dadfa5ac1d1859a
parent287526f6a10a505cfef9f4e366a57a582134d889
ALSA: usb-audio: Don't override ignore_ctl_error value from the map

The mapping table may contain also ignore_ctl_error flag for devices
that are known to behave wild.  Since this flag always writes the
card's own ignore_ctl_error flag, it overrides the value already set
by the module option, so it doesn't follow user's expectation.
Let's fix the code not to clear the flag that has been set by user.

BugLink: https://bugzilla.kernel.org/show_bug.cgi?id=206873
Cc: <stable@vger.kernel.org>
Link: https://lore.kernel.org/r/20200412081331.4742-3-tiwai@suse.de
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/usb/mixer.c