From: Dylan Reid Date: Fri, 20 Jul 2012 00:52:58 +0000 (-0700) Subject: ALSA: hda - Turn on PIN_OUT from hdmi playback prepare. X-Git-Tag: v3.6-rc1~117^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9e76e6d031482194a5b24d8e9ab88063fbd6b4b5;p=pandora-kernel.git ALSA: hda - Turn on PIN_OUT from hdmi playback prepare. 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 Cc: Signed-off-by: Takashi Iwai --- Reading git-diff-tree failed