]> git.baikalelectronics.ru Git - kernel.git/commit
ALSA: usb-audio: ignore broken processing/extension unit
authorTom Yan <tom.ty89@gmail.com>
Mon, 17 Aug 2020 17:20:11 +0000 (01:20 +0800)
committerTakashi Iwai <tiwai@suse.de>
Mon, 17 Aug 2020 17:58:29 +0000 (19:58 +0200)
commitad800734e3bc41bb474b9c1348769a6d0c44df20
treedf7ff6a76be2aabc273a927d9359da1f77a58579
parent64da2be9cddbd2dab9357527c9b0a6da331a21b4
ALSA: usb-audio: ignore broken processing/extension unit

Some devices have broken extension unit where getting current value
doesn't work. Attempt that once when creating mixer control for it. If
it fails, just ignore it, so that it won't cripple the device entirely
(and/or make the error floods).

Signed-off-by: Tom Yan <tom.ty89@gmail.com>
Link: https://lore.kernel.org/r/5f3abc52.1c69fb81.9cf2.fe91@mx.google.com
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/usb/mixer.c