ALSA: hda - Fix indep-HP path (de-)activation for VT1708* codecs
authorTakashi Iwai <tiwai@suse.de>
Thu, 21 Jul 2011 11:45:56 +0000 (13:45 +0200)
committerTakashi Iwai <tiwai@suse.de>
Thu, 21 Jul 2011 11:55:10 +0000 (13:55 +0200)
commit020066d1ecc95d74da9be6beb436ac575af01271
tree706657b35946c4f4ff7606af44a27aefa35f5057
parent737c265bb8399b97231e5b10b5b2375914206427
ALSA: hda - Fix indep-HP path (de-)activation for VT1708* codecs

This patch fixes non-working indep-HP control on VT1708* codecs.
The problems are that via_independent_hp_put() wasn't fixed to follow
the recent change of three HP paths, and hp_indep_path didn't contain
the amp nids of mixer elements.

Together with the fixes, a few code clean-ups are done.

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