2022-04-22 15:00:47 +00:00
|
|
|
From f33fff3dfbd19bfa3003d441e0c83e73ef8bb5ba Mon Sep 17 00:00:00 2001
|
2021-11-24 17:32:01 +00:00
|
|
|
From: Jonathan Bell <jonathan@raspberrypi.com>
|
|
|
|
Date: Thu, 15 Apr 2021 13:15:14 +0100
|
2022-04-22 15:00:47 +00:00
|
|
|
Subject: [PATCH 478/828] sound/usb: add device quirks for A4Tech FHD 1080p
|
2021-11-24 17:32:01 +00:00
|
|
|
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
|
2022-04-22 15:00:47 +00:00
|
|
|
@@ -1900,6 +1900,8 @@ static const struct usb_audio_quirk_flag
|
2021-11-24 17:32:01 +00:00
|
|
|
QUIRK_FLAG_ALIGN_TRANSFER),
|
|
|
|
DEVICE_FLG(0x1224, 0x2a25, /* Jieli Technology USB PHY 2.0 */
|
|
|
|
QUIRK_FLAG_GET_SAMPLE_RATE),
|
|
|
|
+ DEVICE_FLG(0x09da, 0x2695, /* A4Tech FHD 1080p webcam */
|
|
|
|
+ QUIRK_FLAG_DISABLE_AUTOSUSPEND | QUIRK_FLAG_GET_SAMPLE_RATE),
|
|
|
|
|
|
|
|
/* Vendor matches */
|
|
|
|
VENDOR_FLG(0x045e, /* MS Lifecam */
|