]> rtime.felk.cvut.cz Git - lisovros/linux_canprio.git/commit
ALSA: hda - Fix ALC660-VD/ALC861-VD capture/playback mixers
authorHerton Ronaldo Krzesinski <herton@mandriva.com.br>
Thu, 25 Nov 2010 02:08:01 +0000 (00:08 -0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 9 Dec 2010 21:32:50 +0000 (13:32 -0800)
commit63338db70ddae676db933365f27981bcf760a36d
tree6b07cc5d2966771740979cb8e006b590d3fffba8
parent035c790393e22175c3e553ba6ec2028162cb69df
ALSA: hda - Fix ALC660-VD/ALC861-VD capture/playback mixers

commit 7167594a3da7dcc33203b85d62e519594baee390 upstream.

The mixer nids passed to alc_auto_create_input_ctls are wrong: 0x15 is
a pin, and 0x09 is the ADC on both ALC660-VD/ALC861-VD. Thus with
current code, input playback volume/switches and input source mixer
controls are not created, and recording doesn't work. Select correct
mixers, 0x0b (input playback mixer) and 0x22 (capture source mixer).

Reference: https://qa.mandriva.com/show_bug.cgi?id=61159

Signed-off-by: Herton Ronaldo Krzesinski <herton@mandriva.com.br>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
sound/pci/hda/patch_realtek.c