ALSA: usb-audio: Fix invalid volume resolution for Logitech HD Webcam c310
authorTakashi Iwai <tiwai@suse.de>
Mon, 17 Jun 2013 08:25:02 +0000 (10:25 +0200)
committerTakashi Iwai <tiwai@suse.de>
Mon, 17 Jun 2013 08:25:02 +0000 (10:25 +0200)
Just like the previous fix for LogitechHD Webcam c270 in commit
11e7064f35bb87da8f427d1aa4bbd8b7473a3993, c310 model also requires the
same workaround for avoiding the kernel warning.

Bugzilla: https://bugzilla.kernel.org/show_bug.cgi?id=59741
Cc: <stable@vger.kernel.org>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/usb/mixer.c

index e5c7f9f20fddbea288de5287ab6923314986570a..d5438083fd6a8072c20275778f1f3b9fa0a42517 100644 (file)
@@ -885,6 +885,7 @@ static void volume_control_quirks(struct usb_mixer_elem_info *cval,
 
        case USB_ID(0x046d, 0x0808):
        case USB_ID(0x046d, 0x0809):
+       case USB_ID(0x046d, 0x081b): /* HD Webcam c310 */
        case USB_ID(0x046d, 0x081d): /* HD Webcam c510 */
        case USB_ID(0x046d, 0x0825): /* HD Webcam c270 */
        case USB_ID(0x046d, 0x0991):