diff options
author | Clemens Ladisch <clemens@ladisch.de> | 2008-07-10 05:01:06 -0400 |
---|---|---|
committer | Clemens Ladisch <clemens@ladisch.de> | 2008-07-10 05:01:06 -0400 |
commit | c85ceac97487580e39daaf57858513246e425647 (patch) | |
tree | 3a9d8d480dc3e6b7ae3c242e6735431b9051d5e6 /sound/usb | |
parent | 4a161d235b68eb7234f40106560c488a1bdb3851 (diff) |
ALSA: usb-audio: fix Yamaha KX quirk
We have to restrict the quirk to interface 0 because the second
interface is not MIDI but HID. Additionally, this product ID is used
by all four KX models, so it is better to read the product name from
the device.
Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
Diffstat (limited to 'sound/usb')
-rw-r--r-- | sound/usb/usbquirks.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/usb/usbquirks.h b/sound/usb/usbquirks.h index d675050210dc..3eb12feeae5c 100644 --- a/sound/usb/usbquirks.h +++ b/sound/usb/usbquirks.h | |||
@@ -210,7 +210,7 @@ YAMAHA_DEVICE(0x1042, NULL), | |||
210 | YAMAHA_DEVICE(0x1043, NULL), | 210 | YAMAHA_DEVICE(0x1043, NULL), |
211 | YAMAHA_DEVICE(0x1044, NULL), | 211 | YAMAHA_DEVICE(0x1044, NULL), |
212 | YAMAHA_DEVICE(0x1045, NULL), | 212 | YAMAHA_DEVICE(0x1045, NULL), |
213 | YAMAHA_DEVICE(0x104e, "KX49"), | 213 | YAMAHA_INTERFACE(0x104e, 0, NULL), |
214 | YAMAHA_DEVICE(0x2000, "DGP-7"), | 214 | YAMAHA_DEVICE(0x2000, "DGP-7"), |
215 | YAMAHA_DEVICE(0x2001, "DGP-5"), | 215 | YAMAHA_DEVICE(0x2001, "DGP-5"), |
216 | YAMAHA_DEVICE(0x2002, NULL), | 216 | YAMAHA_DEVICE(0x2002, NULL), |