Re: [PATCH] ALSA: usb-audio: don't try to get Outlaw RR2150 sample rate

2015-05-30 Thread Takashi Iwai
At Sat, 30 May 2015 09:15:39 +,
Eric Wong wrote:
> 
> This quirk allows us to avoid the noisy:
> 
>   current rate 0 is different from the runtime rate
> 
> message every time playback starts.  While USB DAC in the RR2150
> supports reading the sample rate, it never returns a sample rate
> other than zero in my observation with common sample rates.
> 
> Signed-off-by: Eric Wong 
> Cc: Joe Turner 
> Cc: Takashi Iwai 

Applied (with Cc to stable), 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 32631a8..2ea5b33 100644
> --- a/sound/usb/quirks.c
> +++ b/sound/usb/quirks.c
> @@ -1118,6 +1118,7 @@ bool snd_usb_get_sample_rate_quirk(struct snd_usb_audio 
> *chip)
>   case USB_ID(0x045E, 0x075D): /* MS Lifecam Cinema  */
>   case USB_ID(0x045E, 0x076D): /* MS Lifecam HD-5000 */
>   case USB_ID(0x04D8, 0xFEEA): /* Benchmark DAC1 Pre */
> + case USB_ID(0x074D, 0x3553): /* Outlaw RR2150 (Micronas UAC3553B) */
>   return true;
>   }
>   return false;
> -- 
> EW
> 
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


[PATCH] ALSA: usb-audio: don't try to get Outlaw RR2150 sample rate

2015-05-30 Thread Eric Wong
This quirk allows us to avoid the noisy:

current rate 0 is different from the runtime rate

message every time playback starts.  While USB DAC in the RR2150
supports reading the sample rate, it never returns a sample rate
other than zero in my observation with common sample rates.

Signed-off-by: Eric Wong 
Cc: Joe Turner 
Cc: Takashi Iwai 
---
 sound/usb/quirks.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/sound/usb/quirks.c b/sound/usb/quirks.c
index 32631a8..2ea5b33 100644
--- a/sound/usb/quirks.c
+++ b/sound/usb/quirks.c
@@ -1118,6 +1118,7 @@ bool snd_usb_get_sample_rate_quirk(struct snd_usb_audio 
*chip)
case USB_ID(0x045E, 0x075D): /* MS Lifecam Cinema  */
case USB_ID(0x045E, 0x076D): /* MS Lifecam HD-5000 */
case USB_ID(0x04D8, 0xFEEA): /* Benchmark DAC1 Pre */
+   case USB_ID(0x074D, 0x3553): /* Outlaw RR2150 (Micronas UAC3553B) */
return true;
}
return false;
-- 
EW

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


[PATCH] ALSA: usb-audio: don't try to get Outlaw RR2150 sample rate

2015-05-30 Thread Eric Wong
This quirk allows us to avoid the noisy:

current rate 0 is different from the runtime rate

message every time playback starts.  While USB DAC in the RR2150
supports reading the sample rate, it never returns a sample rate
other than zero in my observation with common sample rates.

Signed-off-by: Eric Wong normalper...@yhbt.net
Cc: Joe Turner j...@oampo.co.uk
Cc: Takashi Iwai ti...@suse.de
---
 sound/usb/quirks.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/sound/usb/quirks.c b/sound/usb/quirks.c
index 32631a8..2ea5b33 100644
--- a/sound/usb/quirks.c
+++ b/sound/usb/quirks.c
@@ -1118,6 +1118,7 @@ bool snd_usb_get_sample_rate_quirk(struct snd_usb_audio 
*chip)
case USB_ID(0x045E, 0x075D): /* MS Lifecam Cinema  */
case USB_ID(0x045E, 0x076D): /* MS Lifecam HD-5000 */
case USB_ID(0x04D8, 0xFEEA): /* Benchmark DAC1 Pre */
+   case USB_ID(0x074D, 0x3553): /* Outlaw RR2150 (Micronas UAC3553B) */
return true;
}
return false;
-- 
EW

--
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: [PATCH] ALSA: usb-audio: don't try to get Outlaw RR2150 sample rate

2015-05-30 Thread Takashi Iwai
At Sat, 30 May 2015 09:15:39 +,
Eric Wong wrote:
 
 This quirk allows us to avoid the noisy:
 
   current rate 0 is different from the runtime rate
 
 message every time playback starts.  While USB DAC in the RR2150
 supports reading the sample rate, it never returns a sample rate
 other than zero in my observation with common sample rates.
 
 Signed-off-by: Eric Wong normalper...@yhbt.net
 Cc: Joe Turner j...@oampo.co.uk
 Cc: Takashi Iwai ti...@suse.de

Applied (with Cc to stable), 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 32631a8..2ea5b33 100644
 --- a/sound/usb/quirks.c
 +++ b/sound/usb/quirks.c
 @@ -1118,6 +1118,7 @@ bool snd_usb_get_sample_rate_quirk(struct snd_usb_audio 
 *chip)
   case USB_ID(0x045E, 0x075D): /* MS Lifecam Cinema  */
   case USB_ID(0x045E, 0x076D): /* MS Lifecam HD-5000 */
   case USB_ID(0x04D8, 0xFEEA): /* Benchmark DAC1 Pre */
 + case USB_ID(0x074D, 0x3553): /* Outlaw RR2150 (Micronas UAC3553B) */
   return true;
   }
   return false;
 -- 
 EW
 
--
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/