public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH v1] ALSA: usb-audio: Add delay quirk for VIVO USB-C-XE710 HEADSET
@ 2024-08-11  8:30 胡连勤
  2024-08-12  7:22 ` Takashi Iwai
  0 siblings, 1 reply; 3+ messages in thread
From: 胡连勤 @ 2024-08-11  8:30 UTC (permalink / raw)
  To: perex@perex.cz, tiwai@suse.com, mbarriolinares@gmail.com,
	wangdicheng@kylinos.cn, sean@mess.org, alexander@tsoy.me,
	xristos.thes@gmail.com, knuesel@gmail.com,
	linux-sound@vger.kernel.org, linux-kernel@vger.kernel.org
  Cc: opensource.kernel, linux-kernel@vger.kernel.org,
	akpm@linux-foundation.org

From: Lianqin Hu <hulianqin@vivo.com>

Audio control requests that sets sampling frequency sometimes fail on
this card. Adding delay between control messages eliminates that problem.

Signed-off-by: Lianqin Hu <hulianqin@vivo.com>
---
v1:
  - Modify the code position and sort by ID
---
 sound/usb/quirks.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/sound/usb/quirks.c b/sound/usb/quirks.c
index ea063a14cdd8..e7b68c67852e 100644
--- a/sound/usb/quirks.c
+++ b/sound/usb/quirks.c
@@ -2221,6 +2221,8 @@ static const struct usb_audio_quirk_flags_table quirk_flags_table[] = {
 		   QUIRK_FLAG_GENERIC_IMPLICIT_FB),
 	DEVICE_FLG(0x2b53, 0x0031, /* Fiero SC-01 (firmware v1.1.0) */
 		   QUIRK_FLAG_GENERIC_IMPLICIT_FB),
+	DEVICE_FLG(0x2d95, 0x8021, /* VIVO USB-C-XE710 HEADSET */
+		   QUIRK_FLAG_CTL_MSG_DELAY_1M),
 	DEVICE_FLG(0x30be, 0x0101, /* Schiit Hel */
 		   QUIRK_FLAG_IGNORE_CTL_ERROR),
 	DEVICE_FLG(0x413c, 0xa506, /* Dell AE515 sound bar */
-- 
2.39.0


^ permalink raw reply related	[flat|nested] 3+ messages in thread
* Re: [PATCH v1] ALSA: usb-audio: Add delay quirk for VIVO USB-C-XE710 HEADSET
@ 2024-08-12  8:18 胡连勤
  0 siblings, 0 replies; 3+ messages in thread
From: 胡连勤 @ 2024-08-12  8:18 UTC (permalink / raw)
  To: Takashi Iwai
  Cc: perex@perex.cz, tiwai@suse.com, mbarriolinares@gmail.com,
	wangdicheng@kylinos.cn, sean@mess.org, alexander@tsoy.me,
	xristos.thes@gmail.com, knuesel@gmail.com,
	linux-sound@vger.kernel.org, linux-kernel@vger.kernel.org,
	opensource.kernel, akpm@linux-foundation.org

Hello  linux community expert:

  OK.

Thanks

-----邮件原件-----
发件人: Takashi Iwai <tiwai@suse.de> 
发送时间: 2024年8月12日 15:23
收件人: 胡连勤 <hulianqin@vivo.com>
抄送: perex@perex.cz; tiwai@suse.com; mbarriolinares@gmail.com; wangdicheng@kylinos.cn; sean@mess.org; alexander@tsoy.me; xristos.thes@gmail.com; knuesel@gmail.com; linux-sound@vger.kernel.org; linux-kernel@vger.kernel.org; opensource.kernel <opensource.kernel@vivo.com>; akpm@linux-foundation.org
主题: Re: [PATCH v1] ALSA: usb-audio: Add delay quirk for VIVO USB-C-XE710 HEADSET

[You don't often get email from tiwai@suse.de. Learn why this is important at https://aka.ms/LearnAboutSenderIdentification ]

On Sun, 11 Aug 2024 10:30:11 +0200,
胡连勤 wrote:
>
> From: Lianqin Hu <hulianqin@vivo.com>
>
> Audio control requests that sets sampling frequency sometimes fail on 
> this card. Adding delay between control messages eliminates that problem.
>
> Signed-off-by: Lianqin Hu <hulianqin@vivo.com>
> ---
> v1:
>   - Modify the code position and sort by ID

Thanks, applied to for-linus branch now.


Takashi

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

end of thread, other threads:[~2024-08-12  8:18 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-08-11  8:30 [PATCH v1] ALSA: usb-audio: Add delay quirk for VIVO USB-C-XE710 HEADSET 胡连勤
2024-08-12  7:22 ` Takashi Iwai
  -- strict thread matches above, loose matches on Subject: below --
2024-08-12  8:18 胡连勤

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox