Home Home > GIT Browse > SLE15
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2019-06-24 12:07:35 +0200
committerTakashi Iwai <tiwai@suse.de>2019-06-24 12:07:44 +0200
commit4c7a9a8a1955e739c7312e89eebe87ae8579cabe (patch)
tree6341b094af394a0d6d40cfb863c88b4c953632ac
parentf93d0b3284a6b8b2549fb8e1c9f335cc349f84e8 (diff)
USB: Fix chipmunk-like voice when using Logitech C270 for
recording audio (bsc#1051510).
-rw-r--r--patches.drivers/USB-Fix-chipmunk-like-voice-when-using-Logitech-C270.patch42
-rw-r--r--series.conf1
2 files changed, 43 insertions, 0 deletions
diff --git a/patches.drivers/USB-Fix-chipmunk-like-voice-when-using-Logitech-C270.patch b/patches.drivers/USB-Fix-chipmunk-like-voice-when-using-Logitech-C270.patch
new file mode 100644
index 0000000000..d004c29f16
--- /dev/null
+++ b/patches.drivers/USB-Fix-chipmunk-like-voice-when-using-Logitech-C270.patch
@@ -0,0 +1,42 @@
+From bd21f0222adab64974b7d1b4b8c7ce6b23e9ea4d Mon Sep 17 00:00:00 2001
+From: Marco Zatta <marco@zatta.me>
+Date: Sat, 1 Jun 2019 09:52:57 +0200
+Subject: [PATCH] USB: Fix chipmunk-like voice when using Logitech C270 for recording audio.
+Git-commit: bd21f0222adab64974b7d1b4b8c7ce6b23e9ea4d
+Patch-mainline: v5.2-rc5
+References: bsc#1051510
+
+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>
+Acked-by: Takashi Iwai <tiwai@suse.de>
+
+---
+ drivers/usb/core/quirks.c | 3 +++
+ 1 file changed, 3 insertions(+)
+
+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 },
+--
+2.16.4
+
diff --git a/series.conf b/series.conf
index 37cd0774de..bdea2c299f 100644
--- a/series.conf
+++ b/series.conf
@@ -22599,6 +22599,7 @@
patches.drm/drm-i915-perf-fix-whitelist-on-Gen10.patch
patches.suse/module-fix-livepatch-ftrace-module-text-permissions-race.patch
patches.drivers/USB-usb-storage-Add-new-ID-to-ums-realtek.patch
+ patches.drivers/USB-Fix-chipmunk-like-voice-when-using-Logitech-C270.patch
patches.drivers/usb-dwc2-Fix-DMA-cache-alignment-issues.patch
patches.drivers/platform-x86-mlx-platform-Fix-parent-device-in-i2c-m.patch
patches.drivers/ras-cec-fix-binary-search-function.patch