aboutsummaryrefslogtreecommitdiffstats
path: root/sound
diff options
context:
space:
mode:
authorMaksim A. Boyko <maksboyko@yandex.ru>2013-08-10 12:20:02 +0400
committerBen Hutchings <ben@decadent.org.uk>2015-08-07 00:32:13 +0100
commitc430c2311cc75ad22d69796c43dd8cbe48db8588 (patch)
tree1247138f672db162f37c5ca6aaaf5eaad13b6394 /sound
parent60593faea74ea54e84cb638f9cc59e32d8268f37 (diff)
downloadkernel_samsung_smdk4412-c430c2311cc75ad22d69796c43dd8cbe48db8588.zip
kernel_samsung_smdk4412-c430c2311cc75ad22d69796c43dd8cbe48db8588.tar.gz
kernel_samsung_smdk4412-c430c2311cc75ad22d69796c43dd8cbe48db8588.tar.bz2
ALSA: usb-audio: Fix invalid volume resolution for Logitech HD Webcam C525
commit 140d37de62ffe8405282a1d6498f3b4099006384 upstream. Add the volume control quirk for avoiding the kernel warning for the Logitech HD Webcam C525 as in the similar commit 36691e1be6ec551eef4a5225f126a281f8c051c2 for the Logitech HD Webcam C310. Reported-by: Maksim Boyko <maksim.a.boyko@gmail.com> Tested-by: Maksim Boyko <maksim.a.boyko@gmail.com> Signed-off-by: Maksim Boyko <maksim.a.boyko@gmail.com> Signed-off-by: Takashi Iwai <tiwai@suse.de> Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
Diffstat (limited to 'sound')
-rw-r--r--sound/usb/mixer.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sound/usb/mixer.c b/sound/usb/mixer.c
index 88160b7..27126ec 100644
--- a/sound/usb/mixer.c
+++ b/sound/usb/mixer.c
@@ -838,6 +838,7 @@ static void volume_control_quirks(struct usb_mixer_elem_info *cval,
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, 0x0826): /* HD Webcam c525 */
case USB_ID(0x046d, 0x0991):
/* Most audio usb devices lie about volume resolution.
* Most Logitech webcams have res = 384.