ALSA: usb-audio: add a workaround for the NuForce UDH-100
authorClemens Ladisch <clemens@ladisch.de>
Mon, 11 Mar 2013 19:15:34 +0000 (20:15 +0100)
committerTakashi Iwai <tiwai@suse.de>
Tue, 12 Mar 2013 07:35:30 +0000 (08:35 +0100)
commit281a6ac0f54052c81bbee156914459ba5a08f924
treef7ad83926271528979e781fc02c8480e455a7dae
parent2e9b9a3c243b1bc1fc9d1e84fcbc32568467bf8e
ALSA: usb-audio: add a workaround for the NuForce UDH-100

The NuForce UDH-100 numbers its interfaces incorrectly, which makes the
interface associations come out wrong, which results in the driver
erroring out with the message "Audio class v2 interfaces need an
interface association".

Work around this by searching for the interface association descriptor
also in some other place where it might have ended up.

Reported-and-tested-by: Dave Helstroom <helstroom@google.com>
Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/usb/card.c