From: Trulan Martin <trulanm@gmail.com>
To: patch@alsa-project.org
Cc: alsa-devel@alsa-project.org, Trulan Martin <trulanm@gmail.com>
Subject: [PATCH 1/3] Yamaha THR10 USB quirk
Date: Sat, 20 Apr 2013 11:31:45 -0400 [thread overview]
Message-ID: <1366471907-16615-2-git-send-email-trulanm@gmail.com> (raw)
In-Reply-To: <1366471907-16615-1-git-send-email-trulanm@gmail.com>
In-Reply-To: [PATCH 0/3] Yamaha THR10 and related USB quirks
This patch adds a USB quirk for the Yamaha THR10 amp.
Signed-off-by: Trulan Martin <trulanm@gmail.com>
diff --git a/sound/usb/quirks-table.h b/sound/usb/quirks-table.h
index 64d25a7..741680a 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),
--
1.7.10.4
next prev parent reply other threads:[~2013-04-20 15:31 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-04-20 15:31 [PATCH 0/3] Yamaha THR10 and related USB quirks Trulan Martin
2013-04-20 15:31 ` Trulan Martin [this message]
2013-04-20 15:31 ` [PATCH - Yamaha THR5a 2/3] Yamaha THR5a USB quirk Trulan Martin
2013-04-20 15:31 ` [PATCH - Yamaha THR10c 3/3] Yamaha THR10c " Trulan Martin
2013-04-24 6:06 ` [PATCH 0/3] Yamaha THR10 and related USB quirks Takashi Iwai
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1366471907-16615-2-git-send-email-trulanm@gmail.com \
--to=trulanm@gmail.com \
--cc=alsa-devel@alsa-project.org \
--cc=patch@alsa-project.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox