Skip to content

Commit

Permalink
ALSA: usb-audio: fix Yamaha KX quirk
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Clemens Ladisch committed Jul 10, 2008
1 parent 4a161d2 commit c85ceac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sound/usb/usbquirks.h
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,7 @@ YAMAHA_DEVICE(0x1042, NULL),
YAMAHA_DEVICE(0x1043, NULL),
YAMAHA_DEVICE(0x1044, NULL),
YAMAHA_DEVICE(0x1045, NULL),
YAMAHA_DEVICE(0x104e, "KX49"),
YAMAHA_INTERFACE(0x104e, 0, NULL),
YAMAHA_DEVICE(0x2000, "DGP-7"),
YAMAHA_DEVICE(0x2001, "DGP-5"),
YAMAHA_DEVICE(0x2002, NULL),
Expand Down

0 comments on commit c85ceac

Please sign in to comment.