]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
ALSA: usb-audio: Add a quirk for Plantronics BT300
authorDennis Kadioglu <denk@post.com>
Wed, 6 Apr 2016 06:39:01 +0000 (08:39 +0200)
committerTakashi Iwai <tiwai@suse.de>
Wed, 6 Apr 2016 08:33:52 +0000 (10:33 +0200)
Plantronics BT300 does not support reading the sample rate which leads
to many lines of "cannot get freq at ep 0x1". This patch adds the USB
ID of the BT300 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>
sound/usb/quirks.c

index 24c7c2311b47264f9e917d13883f17b4b1ed2c06..0adfd9537cf766bbe130c71c4cc029091b2d4118 100644 (file)
@@ -1134,6 +1134,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, 0x0415): /* Plantronics BT-300 */
        case USB_ID(0x047F, 0xAA05): /* Plantronics DA45 */
        case USB_ID(0x04D8, 0xFEEA): /* Benchmark DAC1 Pre */
        case USB_ID(0x074D, 0x3553): /* Outlaw RR2150 (Micronas UAC3553B) */