ALSA: usb-audio: Add skip_validation option
authorTakashi Iwai <tiwai@suse.de>
Thu, 14 Nov 2019 16:56:13 +0000 (17:56 +0100)
committerTakashi Iwai <tiwai@suse.de>
Thu, 14 Nov 2019 17:02:38 +0000 (18:02 +0100)
commitf35ef592477c5347b8f780a5f0d4970671e22c61
treeb19652e43f89f4b8be1a22378a31fba657a98e6d
parentcb45722b289b54476b68883985c2824c69a7fba9
ALSA: usb-audio: Add skip_validation option

The unit descriptor validation may lead to a probe error when the
device provides a buggy descriptor or the validator detected
incorrectly.  For identifying such an error and band-aiding, give a
new module option, skip_validation.  With this option, the driver
ignores the validation errors with the hexdump of the unit
descriptor, so we can check it in a bit more details.

Link: https://lore.kernel.org/r/20191114165613.7422-2-tiwai@suse.de
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/usb/card.c
sound/usb/usbaudio.h
sound/usb/validate.c