Add "cval->res = 384" quirk for Logitech Webcam C500
diff mbox

Message ID s5hvbvs3mem.wl%tiwai@suse.de
State Accepted
Headers show

Commit Message

Takashi Iwai March 5, 2014, 11:38 a.m. UTC
At Mon, 03 Mar 2014 19:12:38 +0100,
Simon wrote:
> 
> Hello,
> 
> Since some time I am successfully using this workaround
> 
> http://mailman.alsa-project.org/pipermail/alsa-devel/2011-March/037657.html
> 
> to solve the problem for the Logitech C500 Webcam (046d:0807).
> Would it be possible to add this device to the list included in the 
> mixer.c file?

OK, I'll add the following fix.


thanks,

Takashi

-- 8< --
From: Takashi Iwai <tiwai@suse.de>
Subject: [PATCH] ALSA: usb-audio: Add quirk for Logitech Webcam C500

Logitech C500 (046d:0807) needs the same workaround like other
Logitech Webcams.

Cc: <stable@vger.kernel.org>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
---
 sound/usb/mixer.c | 1 +
 1 file changed, 1 insertion(+)

Patch
diff mbox

diff --git a/sound/usb/mixer.c b/sound/usb/mixer.c
index 44b0ba4feab3..1bed780e21d9 100644
--- a/sound/usb/mixer.c
+++ b/sound/usb/mixer.c
@@ -883,6 +883,7 @@  static void volume_control_quirks(struct usb_mixer_elem_info *cval,
 		}
 		break;
 
+	case USB_ID(0x046d, 0x0807): /* Logitech Webcam C500 */
 	case USB_ID(0x046d, 0x0808):
 	case USB_ID(0x046d, 0x0809):
 	case USB_ID(0x046d, 0x081b): /* HD Webcam c310 */