ALSA: HDA VIA: Modify vt1708_auto_create_multi_out_ctls.
authorLydia Wang <lydiawang@viatech.com.cn>
Sat, 10 Oct 2009 11:08:27 +0000 (19:08 +0800)
committerTakashi Iwai <tiwai@suse.de>
Sun, 11 Oct 2009 15:57:51 +0000 (17:57 +0200)
commit9645c2039d5cfdbdcebe297420e180b6cd262836
treeb3c72ab15777486456a40dd62bdc86fb3a252b4f
parentc873cc25280113d71463ad5075413d283be6b766
ALSA: HDA VIA: Modify vt1708_auto_create_multi_out_ctls.

Rewrite nid_vol/mute assignment for clearity, and check line connection
before adding control for it.

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