]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commita1e24e70ac8374d8028c737372a4a401a2e3d488
treeb19652e43f89f4b8be1a22378a31fba657a98e6d
parentf20079a5c23faa6e980f69383cd9424375f8cb9f
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