From: Trulan Martin Date: Thu, 25 Apr 2013 01:19:19 +0000 (-0400) Subject: ALSA: usb-audio: USB quirk for Yamaha THR10 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=ae3f0c267f045d875a898819538e0a58125d1737;p=linux-beck.git ALSA: usb-audio: USB quirk for Yamaha THR10 This patch adds a USB quirk for the Yamaha THR10 amp. Signed-off-by: Trulan Martin Signed-off-by: Takashi Iwai --- diff --git a/sound/usb/quirks-table.h b/sound/usb/quirks-table.h index 86e4b8c17dad..0d422aab57d2 100644 --- a/sound/usb/quirks-table.h +++ b/sound/usb/quirks-table.h @@ -353,6 +353,32 @@ YAMAHA_DEVICE(0x105d, NULL), } } }, +{ + USB_DEVICE(0x0499, 0x1507), + .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) { + /* .vendor_name = "Yamaha", */ + /* .product_name = "THR10", */ + .ifnum = QUIRK_ANY_INTERFACE, + .type = QUIRK_COMPOSITE, + .data = (const struct snd_usb_audio_quirk[]) { + { + .ifnum = 1, + .type = QUIRK_AUDIO_STANDARD_INTERFACE + }, + { + .ifnum = 2, + .type = QUIRK_AUDIO_STANDARD_INTERFACE + }, + { + .ifnum = 3, + .type = QUIRK_MIDI_YAMAHA + }, + { + .ifnum = -1 + } + } + } +}, YAMAHA_DEVICE(0x2000, "DGP-7"), YAMAHA_DEVICE(0x2001, "DGP-5"), YAMAHA_DEVICE(0x2002, NULL),