diff mbox

Add a quirk for Plantronics BT300

Message ID 2102632517.7417885.1459924741577.JavaMail.zimbra@dkadioglu.de (mailing list archive)
State New, archived
Headers show

Commit Message

denk April 6, 2016, 6:39 a.m. UTC
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>
---
 sound/usb/quirks.c | 1 +
 1 file changed, 1 insertion(+)

---

Comments

Takashi Iwai April 6, 2016, 8:34 a.m. UTC | #1
On Wed, 06 Apr 2016 08:39:01 +0200,
Dennis Kadioglu wrote:
> 
> 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>

Applied, thanks.


Takashi


> ---
>  sound/usb/quirks.c | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/sound/usb/quirks.c b/sound/usb/quirks.c
> index 6178bb5..a97c949 100644
> --- a/sound/usb/quirks.c
> +++ b/sound/usb/quirks.c
> @@ -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) */
> ---
> _______________________________________________
> Alsa-devel mailing list
> Alsa-devel@alsa-project.org
> http://mailman.alsa-project.org/mailman/listinfo/alsa-devel
>
diff mbox

Patch

diff --git a/sound/usb/quirks.c b/sound/usb/quirks.c
index 6178bb5..a97c949 100644
--- a/sound/usb/quirks.c
+++ b/sound/usb/quirks.c
@@ -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) */