Patchwork [3.5.y.z,extended,stable] Patch "ALSA: usb-audio: Fix invalid volume resolution for Logitech" has been added to staging queue

login
register
mail settings
Submitter Luis Henriques
Date June 24, 2013, 8:18 a.m.
Message ID <1372061938-4873-1-git-send-email-luis.henriques@canonical.com>
Download mbox | patch
Permalink /patch/253725/
State New
Headers show

Comments

Luis Henriques - June 24, 2013, 8:18 a.m.
This is a note to let you know that I have just added a patch titled

    ALSA: usb-audio: Fix invalid volume resolution for Logitech

to the linux-3.5.y-queue branch of the 3.5.y.z extended stable tree 
which can be found at:

 http://kernel.ubuntu.com/git?p=ubuntu/linux.git;a=shortlog;h=refs/heads/linux-3.5.y-queue

If you, or anyone else, feels it should not be added to this tree, please 
reply to this email.

For more information about the 3.5.y.z tree, see
https://wiki.ubuntu.com/Kernel/Dev/ExtendedStable

Thanks.
-Luis

------

From 9d06df0fd3f8451521136d830cc7b31504279591 Mon Sep 17 00:00:00 2001
From: Takashi Iwai <tiwai@suse.de>
Date: Mon, 17 Jun 2013 10:25:02 +0200
Subject: [PATCH] ALSA: usb-audio: Fix invalid volume resolution for Logitech
 HD Webcam c310

commit 36691e1be6ec551eef4a5225f126a281f8c051c2 upstream.

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
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Luis Henriques <luis.henriques@canonical.com>
---
 sound/usb/mixer.c | 1 +
 1 file changed, 1 insertion(+)

--
1.8.1.2

Patch

diff --git a/sound/usb/mixer.c b/sound/usb/mixer.c
index a3308e1..3e513a8 100644
--- a/sound/usb/mixer.c
+++ b/sound/usb/mixer.c
@@ -841,6 +841,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):