Message ID | PUZPR06MB6224FEB85F27A5AB7A59A1BCD2BA2@PUZPR06MB6224.apcprd06.prod.outlook.com (mailing list archive) |
---|---|
State | Superseded |
Headers | show |
Series | ALSA: usb-audio: Add delay quirk for VIVO USB-C-XE710 HEADSET | expand |
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
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 */