OSDN Git Service

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)
commitd8d0db7bb358ef65d60726a61bfcd08eccff0bc0
treedf7ff6a76be2aabc273a927d9359da1f77a58579
parent23dc958689449be85e39351a8c809c3d344b155b
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