ALSA: usb-audio: Add sample rate quirk for Plantronics C310/C520-M
authorKai-Heng Feng <kai.heng.feng@canonical.com>
Wed, 20 Sep 2017 01:21:40 +0000 (09:21 +0800)
committerTakashi Iwai <tiwai@suse.de>
Wed, 20 Sep 2017 20:14:40 +0000 (22:14 +0200)
Like other Plantronics devices, C310 and C520-M do not support sample
rate reading. Add them to the sample rate quirk accordingly.

BugLink: https://bugs.launchpad.net/bugs/1708499
BugLink: https://bugs.launchpad.net/bugs/1709282
Signed-off-by: Kai-Heng Feng <kai.heng.feng@canonical.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/usb/quirks.c

index 9135520782854233bb246f976d1044f7b8762aa4..b8cb57aeec77fa69f7194aa57b2d0fff163731c1 100644 (file)
@@ -1137,6 +1137,8 @@ bool snd_usb_get_sample_rate_quirk(struct snd_usb_audio *chip)
        case USB_ID(0x047F, 0x02F7): /* Plantronics BT-600 */
        case USB_ID(0x047F, 0x0415): /* Plantronics BT-300 */
        case USB_ID(0x047F, 0xAA05): /* Plantronics DA45 */
+       case USB_ID(0x047F, 0xC022): /* Plantronics C310 */
+       case USB_ID(0x047F, 0xC036): /* Plantronics C520-M */
        case USB_ID(0x04D8, 0xFEEA): /* Benchmark DAC1 Pre */
        case USB_ID(0x0556, 0x0014): /* Phoenix Audio TMX320VC */
        case USB_ID(0x05A3, 0x9420): /* ELP HD USB Camera */