mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-28 17:48:58 +00:00
265d9112b3
No manual changes needed. Link: https://github.com/openwrt/openwrt/pull/16999 Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
28 lines
1010 B
Diff
28 lines
1010 B
Diff
From 01160071692034601de24ff811b1996481bfea55 Mon Sep 17 00:00:00 2001
|
|
From: Jonathan Bell <jonathan@raspberrypi.com>
|
|
Date: Thu, 15 Apr 2021 13:15:14 +0100
|
|
Subject: [PATCH] sound/usb: add device quirks for A4Tech FHD 1080p
|
|
webcams
|
|
|
|
These devices use a type of Sonix chipset that produces broken microphone
|
|
data if suspended/resumed.
|
|
|
|
They also don't support readback of the sample rate.
|
|
|
|
Signed-off-by: Jonathan Bell <jonathan@raspberrypi.com>
|
|
---
|
|
sound/usb/quirks.c | 2 ++
|
|
1 file changed, 2 insertions(+)
|
|
|
|
--- a/sound/usb/quirks.c
|
|
+++ b/sound/usb/quirks.c
|
|
@@ -1810,6 +1810,8 @@ static const struct usb_audio_quirk_flag
|
|
QUIRK_FLAG_IGNORE_CTL_ERROR),
|
|
DEVICE_FLG(0x0951, 0x16ad, /* Kingston HyperX */
|
|
QUIRK_FLAG_CTL_MSG_DELAY_1M),
|
|
+ DEVICE_FLG(0x09da, 0x2695, /* A4Tech FHD 1080p webcam */
|
|
+ QUIRK_FLAG_DISABLE_AUTOSUSPEND | QUIRK_FLAG_GET_SAMPLE_RATE),
|
|
DEVICE_FLG(0x0b0e, 0x0349, /* Jabra 550a */
|
|
QUIRK_FLAG_CTL_MSG_DELAY_1M),
|
|
DEVICE_FLG(0x0c45, 0x6340, /* Sonix HD USB Camera */
|