Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1735385 > unrolled thread

[PATCH] ALSA: usb-audio: Add sample rate quirk for Plantronics C310/C520-M

Started byKai-Heng Feng <kai.heng.feng@canonical.com>
First post2017-09-20 03:30 +0200
Last post2017-09-22 14:30 +0200
Articles 2 — 2 participants

Back to article view | Back to linux.kernel


Contents

  [PATCH] ALSA: usb-audio: Add sample rate quirk for Plantronics C310/C520-M Kai-Heng Feng <kai.heng.feng@canonical.com> - 2017-09-20 03:30 +0200
    Re: [PATCH] ALSA: usb-audio: Add sample rate quirk for Plantronics C310/C520-M Takashi Iwai <tiwai@suse.de> - 2017-09-22 14:30 +0200

#1735385 — [PATCH] ALSA: usb-audio: Add sample rate quirk for Plantronics C310/C520-M

FromKai-Heng Feng <kai.heng.feng@canonical.com>
Date2017-09-20 03:30 +0200
Subject[PATCH] ALSA: usb-audio: Add sample rate quirk for Plantronics C310/C520-M
Message-ID<urBZT-4wG-1@gated-at.bofh.it>
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>
---
 sound/usb/quirks.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/sound/usb/quirks.c b/sound/usb/quirks.c
index 913552078285..b8cb57aeec77 100644
--- a/sound/usb/quirks.c
+++ b/sound/usb/quirks.c
@@ -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 */
-- 
2.14.1

[toc] | [next] | [standalone]


#1737450

FromTakashi Iwai <tiwai@suse.de>
Date2017-09-22 14:30 +0200
Message-ID<usvfI-62z-21@gated-at.bofh.it>
In reply to#1735385
On Wed, 20 Sep 2017 03:21:40 +0200,
Kai-Heng Feng wrote:
> 
> 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>

Applied, thanks.


Takashi

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web