ALSA: hda - Fix the lost power-setup of seconary pins after PM resume
commit70422e598a0f7f24e914187844fefcb4d656903d
authorTakashi Iwai <tiwai@suse.de>
Wed, 11 Jan 2012 11:34:11 +0000 (11 12:34 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Wed, 18 Jan 2012 15:31:53 +0000 (18 07:31 -0800)
tree14439c65b2f35941d4af1df498f793d3fafc2393
parent557d644e64dfa3715f5c71d7e7ca218becebba52
ALSA: hda - Fix the lost power-setup of seconary pins after PM resume

commit f2cbba7602383cd9cdd21f0a5d0b8bd1aad47b33 upstream.

When multiple headphone or other detectable output pins are present,
the power-map has to be updated after resume appropriately, but the
current driver doesn't check all pins but only the first pin (since
it's enough to check it for the mute-behavior).  This resulted in the
silent output from the secondary outputs after PM resume.

This patch fixes the problem by checking all pins at (re-)init time.

Bugzilla: https://bugzilla.novell.com/show_bug.cgi?id=740347

Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
sound/pci/hda/patch_sigmatel.c