public inbox for linux-sound@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] ALSA: usb-audio: Add iface reset and delay quirk for AB13X USB Audio
@ 2026-02-09  8:38 胡连勤
  2026-02-09  9:19 ` Takashi Iwai
  0 siblings, 1 reply; 5+ messages in thread
From: 胡连勤 @ 2026-02-09  8:38 UTC (permalink / raw)
  To: perex@perex.cz, tiwai@suse.com, Cryolitia PukNgae, pav@iki.fi,
	胡连勤, jussi@sonarnerd.net,
	roy.vegard.ovesen@gmail.com
  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 USB device found, idVendor=001f, idProduct=0b21
usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
usb 1-1: Product: AB13X USB Audio
usb 1-1: Manufacturer: Generic
usb 1-1: SerialNumber: 20210926172016

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 2d9f28558874..ddd343077098 100644
--- a/sound/usb/quirks.c
+++ b/sound/usb/quirks.c
@@ -2147,6 +2147,8 @@ struct usb_audio_quirk_flags_table {
 
 static const struct usb_audio_quirk_flags_table quirk_flags_table[] = {
 	/* Device matches */
+	DEVICE_FLG(0x001f, 0x0b21, /* AB13X USB Audio */
+		   QUIRK_FLAG_FORCE_IFACE_RESET | QUIRK_FLAG_IFACE_DELAY),
 	DEVICE_FLG(0x03f0, 0x654a, /* HP 320 FHD Webcam */
 		   QUIRK_FLAG_GET_SAMPLE_RATE | QUIRK_FLAG_MIC_RES_16),
 	DEVICE_FLG(0x041e, 0x3000, /* Creative SB Extigy */
-- 
2.39.0


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

end of thread, other threads:[~2026-02-09  9:39 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-02-09  8:38 [PATCH] ALSA: usb-audio: Add iface reset and delay quirk for AB13X USB Audio 胡连勤
2026-02-09  9:19 ` Takashi Iwai
2026-02-09  9:26   ` 答复: " 胡连勤
2026-02-09  9:34     ` Takashi Iwai
2026-02-09  9:39       ` 答复: " 胡连勤

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