diff mbox series

ALSA: usb-audio: Add delay quirk for VIVO USB-C HEADSET

Message ID TYUPR06MB62177E629E9DEF2401333BF7D2692@TYUPR06MB6217.apcprd06.prod.outlook.com (mailing list archive)
State Accepted
Commit 73385f3e0d8088b715ae8f3f66d533c482a376ab
Headers show
Series ALSA: usb-audio: Add delay quirk for VIVO USB-C HEADSET | expand

Commit Message

胡连勤 Sept. 25, 2024, 3:16 a.m. UTC
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(+)

Comments

Takashi Iwai Sept. 30, 2024, 8:03 a.m. UTC | #1
On Wed, 25 Sep 2024 05:16:29 +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>

Applied now.  Thanks.


Takashi
胡连勤 Sept. 30, 2024, 8:33 a.m. UTC | #2
Hello linux community expert:
 
>> 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>

>Applied now.  Thanks.
 OK.

Thanks
diff mbox series

Patch

diff --git a/sound/usb/quirks.c b/sound/usb/quirks.c
index f62631b54e10..c7a9c50a65bb 100644
--- a/sound/usb/quirks.c
+++ b/sound/usb/quirks.c
@@ -2279,6 +2279,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, 0x8011, /* VIVO USB-C HEADSET */
+		   QUIRK_FLAG_CTL_MSG_DELAY_1M),
 	DEVICE_FLG(0x2d95, 0x8021, /* VIVO USB-C-XE710 HEADSET */
 		   QUIRK_FLAG_CTL_MSG_DELAY_1M),
 	DEVICE_FLG(0x30be, 0x0101, /* Schiit Hel */