public inbox for linux-sound@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] ALSA: usb-audio: Add iface reset and delay quirk for HUAWEI USB-C HEADSET
@ 2026-04-09  8:21 胡连勤
  2026-04-09 10:05 ` Takashi Iwai
  0 siblings, 1 reply; 2+ messages in thread
From: 胡连勤 @ 2026-04-09  8:21 UTC (permalink / raw)
  To: perex@perex.cz, tiwai@suse.com, Cryolitia PukNgae, pav@iki.fi,
	jussi@sonarnerd.net, roy.vegard.ovesen@gmail.com, Jussi Laako
  Cc: linux-sound@vger.kernel.org, linux-kernel@vger.kernel.org,
	胡连勤

Setting up the interface when suspended/resumeing fail on this card.
Adding a reset and delay quirk will eliminate this problem.

usb 1-1: new full-speed USB device number 2 using xhci-hcd
usb 1-1: New USB device found, idVendor=12d1, idProduct=3a07
usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
usb 1-1: Product: HUAWEI USB-C HEADSET
usb 1-1: Manufacturer: bestechnic
usb 1-1: SerialNumber: 0296C100000000000000000000000

Signed-off-by: Lianqin Hu <hulianqin@vivo.com>
---
 sound/usb/quirks.c | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/sound/usb/quirks.c b/sound/usb/quirks.c
index 4cfa24c06fcd..d3a69995c1ad 100644
--- a/sound/usb/quirks.c
+++ b/sound/usb/quirks.c
@@ -2291,8 +2291,9 @@ static const struct usb_audio_quirk_flags_table quirk_flags_table[] = {
 		   QUIRK_FLAG_MIXER_PLAYBACK_MIN_MUTE),
 	DEVICE_FLG(0x1101, 0x0003, /* Audioengine D1 */
 		   QUIRK_FLAG_GET_SAMPLE_RATE),
-	DEVICE_FLG(0x12d1, 0x3a07, /* Huawei Technologies Co., Ltd. */
-		   QUIRK_FLAG_MIXER_PLAYBACK_MIN_MUTE | QUIRK_FLAG_MIXER_CAPTURE_MIN_MUTE),
+	DEVICE_FLG(0x12d1, 0x3a07, /* HUAWEI USB-C HEADSET */
+		   QUIRK_FLAG_MIXER_PLAYBACK_MIN_MUTE | QUIRK_FLAG_MIXER_CAPTURE_MIN_MUTE |
+		   QUIRK_FLAG_FORCE_IFACE_RESET | QUIRK_FLAG_IFACE_DELAY),
 	DEVICE_FLG(0x1224, 0x2a25, /* Jieli Technology USB PHY 2.0 */
 		   QUIRK_FLAG_GET_SAMPLE_RATE | QUIRK_FLAG_MIC_RES_16),
 	DEVICE_FLG(0x1395, 0x740a, /* Sennheiser DECT */
-- 
2.39.0


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

* Re: [PATCH] ALSA: usb-audio: Add iface reset and delay quirk for HUAWEI USB-C HEADSET
  2026-04-09  8:21 [PATCH] ALSA: usb-audio: Add iface reset and delay quirk for HUAWEI USB-C HEADSET 胡连勤
@ 2026-04-09 10:05 ` Takashi Iwai
  0 siblings, 0 replies; 2+ messages in thread
From: Takashi Iwai @ 2026-04-09 10:05 UTC (permalink / raw)
  To: 胡连勤
  Cc: perex@perex.cz, tiwai@suse.com, Cryolitia PukNgae, pav@iki.fi,
	jussi@sonarnerd.net, roy.vegard.ovesen@gmail.com,
	linux-sound@vger.kernel.org, linux-kernel@vger.kernel.org

On Thu, 09 Apr 2026 10:21:37 +0200,
胡连勤 wrote:
> 
> Setting up the interface when suspended/resumeing fail on this card.
> Adding a reset and delay quirk will eliminate this problem.
> 
> usb 1-1: new full-speed USB device number 2 using xhci-hcd
> usb 1-1: New USB device found, idVendor=12d1, idProduct=3a07
> usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
> usb 1-1: Product: HUAWEI USB-C HEADSET
> usb 1-1: Manufacturer: bestechnic
> usb 1-1: SerialNumber: 0296C100000000000000000000000
> 
> Signed-off-by: Lianqin Hu <hulianqin@vivo.com>

Thanks, applied to for-next branch now.


Takashi

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

end of thread, other threads:[~2026-04-09 10:05 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-04-09  8:21 [PATCH] ALSA: usb-audio: Add iface reset and delay quirk for HUAWEI USB-C HEADSET 胡连勤
2026-04-09 10:05 ` Takashi Iwai

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