d8ee96258d73d91007b62ed86b91e65d6eda87ef
[openwrt/staging/blogic.git] /
1 From 01160071692034601de24ff811b1996481bfea55 Mon Sep 17 00:00:00 2001
2 From: Jonathan Bell <jonathan@raspberrypi.com>
3 Date: Thu, 15 Apr 2021 13:15:14 +0100
4 Subject: [PATCH] sound/usb: add device quirks for A4Tech FHD 1080p
5 webcams
6
7 These devices use a type of Sonix chipset that produces broken microphone
8 data if suspended/resumed.
9
10 They also don't support readback of the sample rate.
11
12 Signed-off-by: Jonathan Bell <jonathan@raspberrypi.com>
13 ---
14 sound/usb/quirks.c | 2 ++
15 1 file changed, 2 insertions(+)
16
17 --- a/sound/usb/quirks.c
18 +++ b/sound/usb/quirks.c
19 @@ -1884,6 +1884,8 @@ static const struct usb_audio_quirk_flag
20 QUIRK_FLAG_GENERIC_IMPLICIT_FB),
21 DEVICE_FLG(0x2b53, 0x0031, /* Fiero SC-01 (firmware v1.1.0) */
22 QUIRK_FLAG_GENERIC_IMPLICIT_FB),
23 + DEVICE_FLG(0x09da, 0x2695, /* A4Tech FHD 1080p webcam */
24 + QUIRK_FLAG_DISABLE_AUTOSUSPEND | QUIRK_FLAG_GET_SAMPLE_RATE),
25 DEVICE_FLG(0x0525, 0xa4ad, /* Hamedal C20 usb camero */
26 QUIRK_FLAG_IFACE_SKIP_CLOSE),
27