]> git.karo-electronics.de Git - karo-tx-linux.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)
committerAndi Kleen <ak@linux.intel.com>
Tue, 14 Dec 2010 22:40:10 +0000 (23:40 +0100)
commitba9219020fecff721cb7cb6e21defb63ba5c3bf6
tree3f6a3ce0ef9e706815c34e2d9852b467a6a9d6f7
parentbc23f2c11af8b5d32724fe3e226e3edb0fdf6fb2
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>
Signed-off-by: Andi Kleen <ak@linux.intel.com>
sound/pci/hda/patch_realtek.c