aboutsummaryrefslogtreecommitdiffstats
path: root/sound/usb
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2012-10-11 23:31:28 -0400
committerLinus Torvalds <torvalds@linux-foundation.org>2012-10-11 23:31:28 -0400
commit2fc07efa2241afe08de136c061b3baa103fb286c (patch)
tree113b58740841098c3cc363a4069b5ba77549a881 /sound/usb
parent79360ddd73dfe9a26f49ef4e27b8c26612929b0e (diff)
parentf7f4b2322bf7b8c5929b7eb5a667091f32592580 (diff)
Merge tag 'sound-3.7' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound
Pull sound updates #2 from Takashi Iwai: "This update contains a few cleanup works, regression/stable fixes gathered since the last pull request. - Clean up with generic hd-audio jack handling code by David Henningsson - A few regression fixes for standardized HD-audio auto-parser - Misc clean-up and small fixes" * tag 'sound-3.7' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound: ALSA: hda - do not detect jack on internal speakers for Realtek ALSA: hda - Fix missing beep on ASUS X43U notebook ALSA: hda - Remove AZX_DCAPS_POSFIX_COMBO ALSA: hda - Warn an allocation for an uninitialized array ALSA: hda/cirrus - Add missing init/free of hda_gen_spec ALSA: hda - Fix memory leaks at error path in patch_cirrus.c ALSA: hda - Add missing hda_gen_spec to struct via_spec ALSA: hda - remove "Mic Jack Mode" for headset jacks (Latitude Exx30) ALSA: hda - make Cirrus codec use generic unsol event handler ALSA: hda - make VIA codec use generic unsol event handler ALSA: hda - Remove dead GPIO code for VIA codec ALSA: usb-audio: Add TASCAM US122 MKII playback
Diffstat (limited to 'sound/usb')
-rw-r--r--sound/usb/quirks-table.h46
1 files changed, 46 insertions, 0 deletions
diff --git a/sound/usb/quirks-table.h b/sound/usb/quirks-table.h
index d73ac9bc4272..88d8cebbb244 100644
--- a/sound/usb/quirks-table.h
+++ b/sound/usb/quirks-table.h
@@ -2780,6 +2780,52 @@ YAMAHA_DEVICE(0x7010, "UB99"),
2780 2780
2781 } 2781 }
2782}, 2782},
2783{
2784 /* Tascam US122 MKII - playback-only support */
2785 .match_flags = USB_DEVICE_ID_MATCH_DEVICE,
2786 .idVendor = 0x0644,
2787 .idProduct = 0x8021,
2788 .bInterfaceClass = USB_CLASS_AUDIO,
2789 .driver_info = (unsigned long) &(const struct snd_usb_audio_quirk) {
2790 .vendor_name = "TASCAM",
2791 .product_name = "US122 MKII",
2792 .ifnum = QUIRK_ANY_INTERFACE,
2793 .type = QUIRK_COMPOSITE,
2794 .data = (const struct snd_usb_audio_quirk[]) {
2795 {
2796 .ifnum = 0,
2797 .type = QUIRK_IGNORE_INTERFACE
2798 },
2799 {
2800 .ifnum = 1,
2801 .type = QUIRK_AUDIO_FIXED_ENDPOINT,
2802 .data = &(const struct audioformat) {
2803 .formats = SNDRV_PCM_FMTBIT_S24_3LE,
2804 .channels = 2,
2805 .iface = 1,
2806 .altsetting = 1,
2807 .altset_idx = 1,
2808 .attributes = UAC_EP_CS_ATTR_SAMPLE_RATE,
2809 .endpoint = 0x02,
2810 .ep_attr = USB_ENDPOINT_XFER_ISOC,
2811 .rates = SNDRV_PCM_RATE_44100 |
2812 SNDRV_PCM_RATE_48000 |
2813 SNDRV_PCM_RATE_88200 |
2814 SNDRV_PCM_RATE_96000,
2815 .rate_min = 44100,
2816 .rate_max = 96000,
2817 .nr_rates = 4,
2818 .rate_table = (unsigned int[]) {
2819 44100, 48000, 88200, 96000
2820 }
2821 }
2822 },
2823 {
2824 .ifnum = -1
2825 }
2826 }
2827 }
2828},
2783 2829
2784/* Microsoft XboxLive Headset/Xbox Communicator */ 2830/* Microsoft XboxLive Headset/Xbox Communicator */
2785{ 2831{