mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: 胡连勤 <hulianqin@vivo.com>
To: Takashi Iwai <tiwai@suse.de>
Cc: "perex@perex.cz" <perex@perex.cz>,
	"tiwai@suse.com" <tiwai@suse.com>,
	"mbarriolinares@gmail.com" <mbarriolinares@gmail.com>,
	"wangdicheng@kylinos.cn" <wangdicheng@kylinos.cn>,
	"sean@mess.org" <sean@mess.org>,
	"alexander@tsoy.me" <alexander@tsoy.me>,
	"xristos.thes@gmail.com" <xristos.thes@gmail.com>,
	"knuesel@gmail.com" <knuesel@gmail.com>,
	"linux-sound@vger.kernel.org" <linux-sound@vger.kernel.org>,
	"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>,
	opensource.kernel <opensource.kernel@vivo.com>,
	"akpm@linux-foundation.org" <akpm@linux-foundation.org>
Subject: 答复: [PATCH v1] ALSA: usb-audio: Add delay quirk for VIVO USB-C-XE710 HEADSET
Date: Sun, 11 Aug 2024 04:19:55 +0000	[thread overview]
Message-ID: <TYUPR06MB6217A8E5ABC66AECA2598F69D2842@TYUPR06MB6217.apcprd06.prod.outlook.com> (raw)

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


-----邮件原件-----
发件人: Takashi Iwai <tiwai@suse.de> 
发送时间: 2024年8月10日 16:45
收件人: 胡连勤 <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] 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 Fri, 09 Aug 2024 12:38:52 +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>
> ---
>  sound/usb/quirks.c | 2 ++
>  1 file changed, 2 insertions(+)
>
> diff --git a/sound/usb/quirks.c b/sound/usb/quirks.c index 
> ea063a14cdd8..4c7f0f9d15de 100644
> --- a/sound/usb/quirks.c
> +++ b/sound/usb/quirks.c
> @@ -2119,6 +2119,8 @@ static const struct usb_audio_quirk_flags_table quirk_flags_table[] = {
>                  QUIRK_FLAG_GENERIC_IMPLICIT_FB),
>       DEVICE_FLG(0x07fd, 0x000b, /* MOTU M Series 2nd hardware revision */
>                  QUIRK_FLAG_CTL_MSG_DELAY_1M),
> +     DEVICE_FLG(0x2d95, 0x8021, /* VIVO USB-C-XE710 HEADSET */
> +                QUIRK_FLAG_CTL_MSG_DELAY_1M),
>       DEVICE_FLG(0x08bb, 0x2702, /* LineX FM Transmitter */
>                  QUIRK_FLAG_IGNORE_CTL_ERROR),
>       DEVICE_FLG(0x0951, 0x16ad, /* Kingston HyperX */

The quirk table entry is sorted in the ID number order.
Could you try to put the new entry at the right position?


thanks,

Takashi

             reply	other threads:[~2024-08-11  4:20 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-08-11  4:19 胡连勤 [this message]
2024-08-11  8:20 ` Takashi Iwai
2024-08-12  8:18 胡连勤
2024-08-16 10:14 ` 答复: " 胡连勤

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=TYUPR06MB6217A8E5ABC66AECA2598F69D2842@TYUPR06MB6217.apcprd06.prod.outlook.com \
    --to=hulianqin@vivo.com \
    --cc=akpm@linux-foundation.org \
    --cc=alexander@tsoy.me \
    --cc=knuesel@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-sound@vger.kernel.org \
    --cc=mbarriolinares@gmail.com \
    --cc=opensource.kernel@vivo.com \
    --cc=perex@perex.cz \
    --cc=sean@mess.org \
    --cc=tiwai@suse.com \
    --cc=tiwai@suse.de \
    --cc=wangdicheng@kylinos.cn \
    --cc=xristos.thes@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®