]> git.ipfire.org Git - thirdparty/kernel/stable-queue.git/blob - queue-4.4/usb-fix-chipmunk-like-voice-when-using-logitech-c270-for-recording-audio.patch
4.4-stable patches
[thirdparty/kernel/stable-queue.git] / queue-4.4 / usb-fix-chipmunk-like-voice-when-using-logitech-c270-for-recording-audio.patch
1 From bd21f0222adab64974b7d1b4b8c7ce6b23e9ea4d Mon Sep 17 00:00:00 2001
2 From: Marco Zatta <marco@zatta.me>
3 Date: Sat, 1 Jun 2019 09:52:57 +0200
4 Subject: USB: Fix chipmunk-like voice when using Logitech C270 for recording audio.
5
6 From: Marco Zatta <marco@zatta.me>
7
8 commit bd21f0222adab64974b7d1b4b8c7ce6b23e9ea4d upstream.
9
10 This patch fixes the chipmunk-like voice that manifets randomly when
11 using the integrated mic of the Logitech Webcam HD C270.
12
13 The issue was solved initially for this device by commit 2394d67e446b
14 ("USB: add RESET_RESUME for webcams shown to be quirky") but it was then
15 reintroduced by e387ef5c47dd ("usb: Add USB_QUIRK_RESET_RESUME for all
16 Logitech UVC webcams"). This patch is to have the fix back.
17
18 Signed-off-by: Marco Zatta <marco@zatta.me>
19 Cc: stable <stable@vger.kernel.org>
20 Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
21
22 ---
23 drivers/usb/core/quirks.c | 3 +++
24 1 file changed, 3 insertions(+)
25
26 --- a/drivers/usb/core/quirks.c
27 +++ b/drivers/usb/core/quirks.c
28 @@ -70,6 +70,9 @@ static const struct usb_device_id usb_qu
29 /* Cherry Stream G230 2.0 (G85-231) and 3.0 (G85-232) */
30 { USB_DEVICE(0x046a, 0x0023), .driver_info = USB_QUIRK_RESET_RESUME },
31
32 + /* Logitech HD Webcam C270 */
33 + { USB_DEVICE(0x046d, 0x0825), .driver_info = USB_QUIRK_RESET_RESUME },
34 +
35 /* Logitech HD Pro Webcams C920, C920-C, C925e and C930e */
36 { USB_DEVICE(0x046d, 0x082d), .driver_info = USB_QUIRK_DELAY_INIT },
37 { USB_DEVICE(0x046d, 0x0841), .driver_info = USB_QUIRK_DELAY_INIT },