aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarco Zatta <marco@zatta.me>2019-06-01 09:52:57 +0200
committerPaul Gortmaker <paul.gortmaker@windriver.com>2019-09-16 12:21:23 -0400
commit7a8547a61f8e93e3de148a51d158e6b014796f97 (patch)
treef58d803e97d18121db9ed2a4c11a342fd7f7241d
parent7f252f507b26fa78df23498941d46e4fd0b7c30e (diff)
downloadlinux-yocto-7a8547a61f8e93e3de148a51d158e6b014796f97.tar.gz
linux-yocto-7a8547a61f8e93e3de148a51d158e6b014796f97.tar.bz2
linux-yocto-7a8547a61f8e93e3de148a51d158e6b014796f97.zip
USB: Fix chipmunk-like voice when using Logitech C270 for recording audio.
commit bd21f0222adab64974b7d1b4b8c7ce6b23e9ea4d upstream. This patch fixes the chipmunk-like voice that manifets randomly when using the integrated mic of the Logitech Webcam HD C270. The issue was solved initially for this device by commit 2394d67e446b ("USB: add RESET_RESUME for webcams shown to be quirky") but it was then reintroduced by e387ef5c47dd ("usb: Add USB_QUIRK_RESET_RESUME for all Logitech UVC webcams"). This patch is to have the fix back. Signed-off-by: Marco Zatta <marco@zatta.me> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Cc: stable <stable@vger.kernel.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
-rw-r--r--drivers/usb/core/quirks.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/usb/core/quirks.c b/drivers/usb/core/quirks.c
index 6082b008969b..6b6413073584 100644
--- a/drivers/usb/core/quirks.c
+++ b/drivers/usb/core/quirks.c
@@ -215,6 +215,9 @@ static const struct usb_device_id usb_quirk_list[] = {
/* Cherry Stream G230 2.0 (G85-231) and 3.0 (G85-232) */
{ USB_DEVICE(0x046a, 0x0023), .driver_info = USB_QUIRK_RESET_RESUME },
+ /* Logitech HD Webcam C270 */
+ { USB_DEVICE(0x046d, 0x0825), .driver_info = USB_QUIRK_RESET_RESUME },
+
/* Logitech HD Pro Webcams C920, C920-C, C925e and C930e */
{ USB_DEVICE(0x046d, 0x082d), .driver_info = USB_QUIRK_DELAY_INIT },
{ USB_DEVICE(0x046d, 0x0841), .driver_info = USB_QUIRK_DELAY_INIT },