ALSA: hda - Fix invalid multi-channel amplifiers for VT1718S
authorLydia Wang <lydiawang@viatech.com.cn>
Mon, 4 Jul 2011 09:01:33 +0000 (17:01 +0800)
committerTakashi Iwai <tiwai@suse.de>
Mon, 4 Jul 2011 12:53:25 +0000 (14:53 +0200)
commitb89596a160dc63043be3fda8babbca9a935af0aa
treed667140add3019de2bd02df7dfb84bb45b6f7bef
parentc4394f5b807289c180a486df70c1a9b1f192f1cb
ALSA: hda - Fix invalid multi-channel amplifiers for VT1718S

For VT1718S, the multi-channel path should be like following:
DAC 0-->Mixer 9(index 5)-->Mixer 0(index 1)-->Front Pin;
DAC 1-->Mixer 1(index 0)-->Surround Pin;
DAC 2-->C/LFE Pin;
DAC 3-->Mixer 2(index 0)-->Side Pin;

But current code built Surround and Side path through index 1 of
Mixer 1 and 2. So Adjusting Surround and Side channel amplifier is
invalid. This patch fixes the issue.

Signed-off-by: Lydia Wang <lydiawang@viatech.com.cn>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/hda/patch_via.c