alsa-devel.alsa-project.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] ALSA: usb-audio: Add delay quirk for H570e USB headsets
@ 2020-09-10  8:53 Joakim Tjernlund
  2020-09-10 16:34 ` Sasha Levin
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Joakim Tjernlund @ 2020-09-10  8:53 UTC (permalink / raw)
  To: alsa-devel; +Cc: Joakim Tjernlund, stable

Needs the same delay as H650e

Signed-off-by: Joakim Tjernlund <joakim.tjernlund@infinera.com>
Cc: stable@vger.kernel.org
---
 sound/usb/quirks.c | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/sound/usb/quirks.c b/sound/usb/quirks.c
index 75bbdc691243..892296df131d 100644
--- a/sound/usb/quirks.c
+++ b/sound/usb/quirks.c
@@ -1678,12 +1678,13 @@ void snd_usb_ctl_msg_quirk(struct usb_device *dev, unsigned int pipe,
 	    && (requesttype & USB_TYPE_MASK) == USB_TYPE_CLASS)
 		msleep(20);
 
-	/* Zoom R16/24, Logitech H650e, Jabra 550a, Kingston HyperX needs a tiny
-	 * delay here, otherwise requests like get/set frequency return as
-	 * failed despite actually succeeding.
+	/* Zoom R16/24, Logitech H650e/H570e, Jabra 550a, Kingston HyperX
+	 *  needs a tiny delay here, otherwise requests like get/set
+	 *  frequency return as failed despite actually succeeding.
 	 */
 	if ((chip->usb_id == USB_ID(0x1686, 0x00dd) ||
 	     chip->usb_id == USB_ID(0x046d, 0x0a46) ||
+	     chip->usb_id == USB_ID(0x046d, 0x0a56) ||
 	     chip->usb_id == USB_ID(0x0b0e, 0x0349) ||
 	     chip->usb_id == USB_ID(0x0951, 0x16ad)) &&
 	    (requesttype & USB_TYPE_MASK) == USB_TYPE_CLASS)
-- 
2.26.2


^ permalink raw reply related	[flat|nested] 5+ messages in thread

* Re: [PATCH] ALSA: usb-audio: Add delay quirk for H570e USB headsets
  2020-09-10  8:53 [PATCH] ALSA: usb-audio: Add delay quirk for H570e USB headsets Joakim Tjernlund
@ 2020-09-10 16:34 ` Sasha Levin
  2020-09-11  7:59   ` Joakim Tjernlund
  2020-09-15 13:54 ` Joakim Tjernlund
  2020-09-21  8:41 ` Takashi Iwai
  2 siblings, 1 reply; 5+ messages in thread
From: Sasha Levin @ 2020-09-10 16:34 UTC (permalink / raw)
  To: Sasha Levin, Joakim Tjernlund, alsa-devel; +Cc: Joakim Tjernlund, stable

Hi

[This is an automated email]

This commit has been processed because it contains a -stable tag.
The stable tag indicates that it's relevant for the following trees: all

The bot has tested the following trees: v5.8.7, v5.4.63, v4.19.143, v4.14.196, v4.9.235, v4.4.235.

v5.8.7: Build OK!
v5.4.63: Build OK!
v4.19.143: Build OK!
v4.14.196: Build OK!
v4.9.235: Build OK!
v4.4.235: Failed to apply! Possible dependencies:
    71426535f49f ("ALSA: usb-audio: Add native DSD support for Luxman DA-06")
    74dc71f83e50 ("ALSA: usb-audio: FIX native DSD support for TEAC UD-501 DAC")
    79289e24194a ("ALSA: usb-audio: Refer to chip->usb_id for quirks and MIDI creation")
    7f38ca047b0c ("ALSA: usb-audio: Add native DSD support for TEAC 501/503 DAC")
    866f7ed7d679 ("ALSA: usb-audio: Add native DSD support for Esoteric D-05X")
    b00214865d65 ("ALSA: usb-audio: Add native DSD support for TEAC UD-301")
    df3f0347fd85 ("ALSA: usb-audio: quirks: Replace mdelay() with msleep() and usleep_range()")
    f3b906d720e4 ("ALSA: usb-audio: Integrate native DSD support for ITF-USB based DACs.")


NOTE: The patch will not be queued to stable trees until it is upstream.

How should we proceed with this patch?

-- 
Thanks
Sasha

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PATCH] ALSA: usb-audio: Add delay quirk for H570e USB headsets
  2020-09-10 16:34 ` Sasha Levin
@ 2020-09-11  7:59   ` Joakim Tjernlund
  0 siblings, 0 replies; 5+ messages in thread
From: Joakim Tjernlund @ 2020-09-11  7:59 UTC (permalink / raw)
  To: sashal, alsa-devel; +Cc: stable

On Thu, 2020-09-10 at 16:34 +0000, Sasha Levin wrote:
> CAUTION: This email originated from outside of the organization. Do not click links or open attachments unless you recognize the sender and know the content is safe.
> 
> 
> Hi
> 
> [This is an automated email]
> 
> This commit has been processed because it contains a -stable tag.
> The stable tag indicates that it's relevant for the following trees: all
> 
> The bot has tested the following trees: v5.8.7, v5.4.63, v4.19.143, v4.14.196, v4.9.235, v4.4.235.
> 
> v5.8.7: Build OK!
> v5.4.63: Build OK!
> v4.19.143: Build OK!
> v4.14.196: Build OK!
> v4.9.235: Build OK!
> v4.4.235: Failed to apply! Possible dependencies:
>     71426535f49f ("ALSA: usb-audio: Add native DSD support for Luxman DA-06")
>     74dc71f83e50 ("ALSA: usb-audio: FIX native DSD support for TEAC UD-501 DAC")
>     79289e24194a ("ALSA: usb-audio: Refer to chip->usb_id for quirks and MIDI creation")
>     7f38ca047b0c ("ALSA: usb-audio: Add native DSD support for TEAC 501/503 DAC")
>     866f7ed7d679 ("ALSA: usb-audio: Add native DSD support for Esoteric D-05X")
>     b00214865d65 ("ALSA: usb-audio: Add native DSD support for TEAC UD-301")
>     df3f0347fd85 ("ALSA: usb-audio: quirks: Replace mdelay() with msleep() and usleep_range()")
>     f3b906d720e4 ("ALSA: usb-audio: Integrate native DSD support for ITF-USB based DACs.")
> 
> 
> NOTE: The patch will not be queued to stable trees until it is upstream.
> 
> How should we proceed with this patch?

Backporting to 4.9 an no more is fine with me, patch just fixes a small error for a newer USB headset

 Jocke

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PATCH] ALSA: usb-audio: Add delay quirk for H570e USB headsets
  2020-09-10  8:53 [PATCH] ALSA: usb-audio: Add delay quirk for H570e USB headsets Joakim Tjernlund
  2020-09-10 16:34 ` Sasha Levin
@ 2020-09-15 13:54 ` Joakim Tjernlund
  2020-09-21  8:41 ` Takashi Iwai
  2 siblings, 0 replies; 5+ messages in thread
From: Joakim Tjernlund @ 2020-09-15 13:54 UTC (permalink / raw)
  To: alsa-devel; +Cc: stable

Ping? Was this accepted or dropped ?

   Joakim
On Thu, 2020-09-10 at 10:53 +0200, Joakim Tjernlund wrote:
> Needs the same delay as H650e
> 
> Signed-off-by: Joakim Tjernlund <joakim.tjernlund@infinera.com>
> Cc: stable@vger.kernel.org
> ---
>  sound/usb/quirks.c | 7 ++++---
>  1 file changed, 4 insertions(+), 3 deletions(-)
> 
> diff --git a/sound/usb/quirks.c b/sound/usb/quirks.c
> index 75bbdc691243..892296df131d 100644
> --- a/sound/usb/quirks.c
> +++ b/sound/usb/quirks.c
> @@ -1678,12 +1678,13 @@ void snd_usb_ctl_msg_quirk(struct usb_device *dev, unsigned int pipe,
>  	    && (requesttype & USB_TYPE_MASK) == USB_TYPE_CLASS)
>  		msleep(20);
>  
> 
> -	/* Zoom R16/24, Logitech H650e, Jabra 550a, Kingston HyperX needs a tiny
> -	 * delay here, otherwise requests like get/set frequency return as
> -	 * failed despite actually succeeding.
> +	/* Zoom R16/24, Logitech H650e/H570e, Jabra 550a, Kingston HyperX
> +	 *  needs a tiny delay here, otherwise requests like get/set
> +	 *  frequency return as failed despite actually succeeding.
>  	 */
>  	if ((chip->usb_id == USB_ID(0x1686, 0x00dd) ||
>  	     chip->usb_id == USB_ID(0x046d, 0x0a46) ||
> +	     chip->usb_id == USB_ID(0x046d, 0x0a56) ||
>  	     chip->usb_id == USB_ID(0x0b0e, 0x0349) ||
>  	     chip->usb_id == USB_ID(0x0951, 0x16ad)) &&
>  	    (requesttype & USB_TYPE_MASK) == USB_TYPE_CLASS)


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PATCH] ALSA: usb-audio: Add delay quirk for H570e USB headsets
  2020-09-10  8:53 [PATCH] ALSA: usb-audio: Add delay quirk for H570e USB headsets Joakim Tjernlund
  2020-09-10 16:34 ` Sasha Levin
  2020-09-15 13:54 ` Joakim Tjernlund
@ 2020-09-21  8:41 ` Takashi Iwai
  2 siblings, 0 replies; 5+ messages in thread
From: Takashi Iwai @ 2020-09-21  8:41 UTC (permalink / raw)
  To: Joakim Tjernlund; +Cc: alsa-devel, stable

On Thu, 10 Sep 2020 10:53:28 +0200,
Joakim Tjernlund wrote:
> 
> Needs the same delay as H650e
> 
> Signed-off-by: Joakim Tjernlund <joakim.tjernlund@infinera.com>
> Cc: stable@vger.kernel.org

Applied now.  Thanks.


Takashi

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2020-09-21  8:42 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-09-10  8:53 [PATCH] ALSA: usb-audio: Add delay quirk for H570e USB headsets Joakim Tjernlund
2020-09-10 16:34 ` Sasha Levin
2020-09-11  7:59   ` Joakim Tjernlund
2020-09-15 13:54 ` Joakim Tjernlund
2020-09-21  8:41 ` Takashi Iwai

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).