ALSA: usb-audio: Add delay quirk for HIK camera
PATCH 1/1 ALSA: usb-audio: Add delay quirk for HIK camera
Audio control requests that set the volume sometimes time out on the HIK 1080P Camera (2bdf:0280).
Adding a 1ms delay between control messages avoids the issue. Apply QUIRK_FLAG_CTL_MSG_DELAY_1M for this device.
Signed-off-by Kuangyi Chiang <[email protected]>
--- sound/usb/quirks.c | 2 ++ 1 file changed, 2 insertions(+)
sound/usb/quirks.c +2 -0
@@ -2532,6 +2532,8 @@ static const struct usb_audio_quirk_flags_table quirk_flags_table[] = { QUIRK_FLAG_GENERIC_IMPLICIT_FB),DEVICE_FLG (0x2b73 ,0x0047 ,/* AlphaTheta EUPHONIA */ QUIRK_FLAG_PLAYBACK_FIRST |QUIRK_FLAG_GENERIC_IMPLICIT_FB ), +DEVICE_FLG (0x2bdf ,0x0280 ,/* HIK 1080P Camera */ +QUIRK_FLAG_CTL_MSG_DELAY_1M ),DEVICE_FLG (0x2d95 ,0x8011 ,/* VIVO USB-C HEADSET */ QUIRK_FLAG_CTL_MSG_DELAY_1M ), DEVICE_FLG(0x2d95, 0x8021, /* VIVO USB-C-XE710 HEADSET */
Signature · 1 line
2.25.1
Quoted 8 lines · Kuangyi Chiang
Audio control requests that set the volume sometimes time out on the HIK 1080P Camera (2bdf:0280).
Adding a 1ms delay between control messages avoids the issue. Apply
QUIRK_FLAG_CTL_MSG_DELAY_1Mfor this device.Signed-off-by Kuangyi Chiang <[email protected]>
Applied now. Thanks.
Takashi