]> git.karo-electronics.de Git - karo-tx-linux.git/commit
ALSA: hda - Turn on PIN_OUT from hdmi playback prepare.
authorDylan Reid <dgreid@chromium.org>
Fri, 20 Jul 2012 00:52:58 +0000 (17:52 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 9 Aug 2012 15:22:38 +0000 (08:22 -0700)
commit7eb31a7c9f3d531078e85e461a35db20d3c74ba7
treee90d1eab91649d47c978d047001d10d77462452d
parent1569d721a9f667c4ad7ad6485759c85e45111137
ALSA: hda - Turn on PIN_OUT from hdmi playback prepare.

commit 9e76e6d031482194a5b24d8e9ab88063fbd6b4b5 upstream.

Turn on the pin widget's PIN_OUT bit from playback prepare. The pin is
enabled in open, but is disabled in hdmi_init_pin which is called during
system resume.  This causes a system suspend/resume during playback to
mute HDMI/DP. Enabling the pin in prepare instead of open allows calling
snd_pcm_prepare after a system resume to restore audio.

Signed-off-by: Dylan Reid <dgreid@chromium.org>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
sound/pci/hda/patch_hdmi.c