sound: usb-audio: make the MotU Fastlane work again
commita7e590d6d4525a2da2762f69d0b9aa719fd36ba1
authorClemens Ladisch <clemens@ladisch.de>
Wed, 27 May 2009 08:49:30 +0000 (27 10:49 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 15 Jun 2009 16:40:04 +0000 (15 09:40 -0700)
tree37b30044ee205e7b37ad17f18fe4e7cdd2eab921
parent5a9766fb357d68962dca31dfae078e7ec8e98b13
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