ALSA: HDA VIA: Modify vt1709_auto_create_multi_out_ctls.
authorLydia Wang <lydiawang@viatech.com.cn>
Sat, 10 Oct 2009 11:08:29 +0000 (19:08 +0800)
committerTakashi Iwai <tiwai@suse.de>
Sun, 11 Oct 2009 15:58:13 +0000 (17:58 +0200)
commit4483a2f5907fa824bd6384c36fdcee9777cab1b9
tree01689849f05feccb274af3631afbbc864b686f74
parent9645c2039d5cfdbdcebe297420e180b6cd262836
ALSA: HDA VIA: Modify vt1709_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