Failing with a hard error is unjustified. Simply ignore them for now so the rest of the device can be used.
Signed-off-by: Daniel Mack <zon...@gmail.com> Reported-by: Nicolai Krakowiak <nicolai.krakow...@gmail.com> Cc: sta...@kernel.org --- sound/usb/mixer.c | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/sound/usb/mixer.c b/sound/usb/mixer.c index c43dbea..7f7dde8 100644 --- a/sound/usb/mixer.c +++ b/sound/usb/mixer.c @@ -1899,6 +1899,9 @@ static int parse_audio_unit(struct mixer_build *state, int unitid) return parse_audio_extension_unit(state, unitid, p1); else /* UAC_VERSION_2 */ return parse_audio_processing_unit(state, unitid, p1); + case UAC2_EXTENSION_UNIT_V2: + snd_printdd(KERN_WARNING "Ignoring UAC2_EXTENSION_UNIT\n"); + return 0; /* FIXME - extension units are not implemented yet */ default: snd_printk(KERN_ERR "usbaudio: unit %u: unexpected type 0x%02x\n", unitid, p1[2]); return -EINVAL; -- 1.7.5.4 _______________________________________________ stable mailing list stable@linux.kernel.org http://linux.kernel.org/mailman/listinfo/stable