]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
sound: usb-audio: make the MotU Fastlane work again
authorClemens Ladisch <clemens@ladisch.de>
Wed, 27 May 2009 08:49:30 +0000 (10:49 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 12 Jun 2009 03:01:30 +0000 (20:01 -0700)
commit3e29e7c674d1197a919b2d91134569caa7e79484
treef35427656a8b2b2a732c73ade488d70f2969aae5
parent894e24c2c5b6055ef9704b0ffdbacd9d4fdd130b
sound: usb-audio: make the MotU Fastlane work again

commit 55de5ef970c680d8d75f2a9aa7e4f172140dbd9c upstream.

Kernel 2.6.18 broke the MotU Fastlane, which uses duplicate endpoint
numbers in a manner that is not only illegal but also confuses the
kernel's endpoint descriptor caching mechanism.  To work around this, we
have to add a separate usb_set_interface() call to guide the USB core to
the correct descriptors.

Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
Reported-and-tested-by: David Fries <david@fries.net>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
sound/usb/usbaudio.c
sound/usb/usbaudio.h
sound/usb/usbmidi.c
sound/usb/usbquirks.h