ALSA: hda - Fix issue that front can't output sound for VT1718S
authorLydia Wang <lydiawang@viatech.com.cn>
Mon, 4 Jul 2011 08:54:15 +0000 (16:54 +0800)
committerTakashi Iwai <tiwai@suse.de>
Mon, 4 Jul 2011 12:33:23 +0000 (14:33 +0200)
commitc4394f5b807289c180a486df70c1a9b1f192f1cb
treee105a741d5187ce062743aa68a75b6dd68263777
parente5e14681404ec27a422d635284bf564dabde3f81
ALSA: hda - Fix issue that front can't output sound for VT1718S

For VT1718S, Mixer 9 doesn't expose the connection to DAC 0. So when
building up a 'PCM Playback' amplifier control, it will fail since
getting DAC 0 index of Mixer 9 returned -1. So I added a dac_mixer_idx
to indicated the actual index of DAC 0 to Mixer 9. Following is the
patch and next mail is another.

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