diff options
author | Clemens Ladisch <clemens@ladisch.de> | 2005-07-04 03:21:45 -0400 |
---|---|---|
committer | Jaroslav Kysela <perex@suse.cz> | 2005-07-28 06:21:44 -0400 |
commit | bbd4615cdb68de943b2814e956ec14899606dc45 (patch) | |
tree | ea34cab11b4c6a607be44eb4a98170d55cd8fb76 /sound | |
parent | 6155aff84b98b2aa35eaa4384b539dfbab86afcc (diff) |
[ALSA] usb-audio - use bDeviceSubClass to detect MOTU FastLane
USB generic driver
MOTU builds other USB MIDI interfaces with the same product ID as the
FastLane, so we have to check the bDeviceSubClass field to differentiate
between them.
Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
Diffstat (limited to 'sound')
-rw-r--r-- | sound/usb/usbquirks.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/sound/usb/usbquirks.h b/sound/usb/usbquirks.h index ed1eba1ef5c..67796430e58 100644 --- a/sound/usb/usbquirks.h +++ b/sound/usb/usbquirks.h | |||
@@ -1260,7 +1260,12 @@ YAMAHA_DEVICE(0x7010, "UB99"), | |||
1260 | /* Mark of the Unicorn devices */ | 1260 | /* Mark of the Unicorn devices */ |
1261 | { | 1261 | { |
1262 | /* thanks to Robert A. Lerche <ral 'at' msbit.com> */ | 1262 | /* thanks to Robert A. Lerche <ral 'at' msbit.com> */ |
1263 | USB_DEVICE(0x07fd, 0x0001), | 1263 | .match_flags = USB_DEVICE_ID_MATCH_VENDOR | |
1264 | USB_DEVICE_ID_MATCH_PRODUCT | | ||
1265 | USB_DEVICE_ID_MATCH_DEV_SUBCLASS, | ||
1266 | .idVendor = 0x07fd, | ||
1267 | .idProduct = 0x0001, | ||
1268 | .bDeviceSubClass = 2, | ||
1264 | .driver_info = (unsigned long) & (const snd_usb_audio_quirk_t) { | 1269 | .driver_info = (unsigned long) & (const snd_usb_audio_quirk_t) { |
1265 | .vendor_name = "MOTU", | 1270 | .vendor_name = "MOTU", |
1266 | .product_name = "Fastlane", | 1271 | .product_name = "Fastlane", |