ALSA: usb-audio - Volume control quirk for QuickCam E 3500
authorAlexey Fisher <bug-track@fisher-privat.net>
Wed, 22 Jul 2009 12:57:54 +0000 (14:57 +0200)
committerTakashi Iwai <tiwai@suse.de>
Wed, 22 Jul 2009 13:52:15 +0000 (15:52 +0200)
commit2cf313ee75ddf6220b5d623b749b1bb79458307f
tree6002a61a2c5b3d4c331fc6df80f96a389df669c6
parent8886f33f25083a47d5fa24ad7b57bb708c5c5403
ALSA: usb-audio - Volume control quirk for QuickCam E 3500

- E3500 report cval->max more than it actually can handel, so if you
set 95% capture level it will be silently muted.
- Betwen cval->min and cval-max(real) is 2940 control units,
but real are only 7 with cval->res = 384.
- Alsa can't handel less than 10 controls, so make it more
and set cval->res = 192.

Signed-off-by: Alexey Fisher <bug-track@fisher-privat.net>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/usb/usbmixer.c