提交 c85ceac9 编写于 作者: C Clemens Ladisch

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: NClemens Ladisch <clemens@ladisch.de>
上级 4a161d23
...@@ -210,7 +210,7 @@ YAMAHA_DEVICE(0x1042, NULL), ...@@ -210,7 +210,7 @@ YAMAHA_DEVICE(0x1042, NULL),
YAMAHA_DEVICE(0x1043, NULL), YAMAHA_DEVICE(0x1043, NULL),
YAMAHA_DEVICE(0x1044, NULL), YAMAHA_DEVICE(0x1044, NULL),
YAMAHA_DEVICE(0x1045, NULL), YAMAHA_DEVICE(0x1045, NULL),
YAMAHA_DEVICE(0x104e, "KX49"), YAMAHA_INTERFACE(0x104e, 0, NULL),
YAMAHA_DEVICE(0x2000, "DGP-7"), YAMAHA_DEVICE(0x2000, "DGP-7"),
YAMAHA_DEVICE(0x2001, "DGP-5"), YAMAHA_DEVICE(0x2001, "DGP-5"),
YAMAHA_DEVICE(0x2002, NULL), YAMAHA_DEVICE(0x2002, NULL),
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册