ALSA: hda - Fix mix->DAC deduction for ALC892
authorTakashi Iwai <tiwai@suse.de>
Wed, 6 Apr 2011 13:16:21 +0000 (15:16 +0200)
committerTakashi Iwai <tiwai@suse.de>
Wed, 6 Apr 2011 13:16:21 +0000 (15:16 +0200)
commit1304ac8993e32c0530bc82bf1d3f953548a20971
tree2ffd4941bd0ae86a3b343e98e8cf8d581b360790
parent1bc7cf99a90b4cfbeed362f3f238bcc9fc2f2c28
ALSA: hda - Fix mix->DAC deduction for ALC892

The current alc662 parser doesn't set the DAC for the mixer 0x0f
properly for ALC892, which has 4 DACs while ALC662 has 3.
Fixed by implementing alc662_mix_to_dac() more genericly with the
dynamic widget list.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/hda/patch_realtek.c