summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDennis Kadioglu <denk@post.com>2016-03-01 14:23:29 +0100
committerSasha Levin <sasha.levin@oracle.com>2016-03-11 09:45:25 -0500
commit0ee01eb779001565fbe1bea8c5bd39348104a23e (patch)
tree2bd98f157c333a703d1c08f3b0798a610af49f5a
parent94bfd71362114037bf357c8d46c5e313e2ef002c (diff)
downloadlwn-0ee01eb779001565fbe1bea8c5bd39348104a23e.tar.gz
lwn-0ee01eb779001565fbe1bea8c5bd39348104a23e.zip
ALSA: usb-audio: Add a quirk for Plantronics DA45
[ Upstream commit 17e2df4613be57d0fab68df749f6b8114e453152 ] Plantronics DA45 does not support reading the sample rate which leads to many lines of "cannot get freq at ep 0x4" and "cannot get freq at ep 0x84". This patch adds the USB ID of the DA45 to quirks.c and avoids those error messages. Signed-off-by: Dennis Kadioglu <denk@post.com> Cc: <stable@vger.kernel.org> Signed-off-by: Takashi Iwai <tiwai@suse.de> Signed-off-by: Sasha Levin <sasha.levin@oracle.com>
-rw-r--r--sound/usb/quirks.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sound/usb/quirks.c b/sound/usb/quirks.c
index 2ef679caa8b9..42c1d0171a5a 100644
--- a/sound/usb/quirks.c
+++ b/sound/usb/quirks.c
@@ -1111,6 +1111,7 @@ bool snd_usb_get_sample_rate_quirk(struct snd_usb_audio *chip)
case USB_ID(0x045E, 0x076F): /* MS Lifecam HD-6000 */
case USB_ID(0x045E, 0x0772): /* MS Lifecam Studio */
case USB_ID(0x045E, 0x0779): /* MS Lifecam HD-3000 */
+ case USB_ID(0x047F, 0xAA05): /* Plantronics DA45 */
case USB_ID(0x04D8, 0xFEEA): /* Benchmark DAC1 Pre */
return true;
}