From: Mengdong Lin Date: Wed, 4 Sep 2013 20:37:12 +0000 (-0400) Subject: ALSA: hda - unmute pin amplifier in infoframe setup for Haswell X-Git-Tag: v3.12-rc1~43^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=58f7d28da6994e4292ade2ac9eabebb723a9bbe6;p=pandora-kernel.git ALSA: hda - unmute pin amplifier in infoframe setup for Haswell When Gfx driver reconnects a port and transcoder, the pin amplifier will be muted. To enable sound, the pin amp need to be unmuted. This patch - moves pin amp unmuting from stream preparing to hdmi_setup_audio_infoframe(). So if port:transcoder reconnection happens during stream playback, the ELDV unsol event can stil trigger pin's amp unmuting when re-setting up audio info frame. - remove reading pin amp status before unmuting for speed-up, since pin amp should always be unmuted. - rename haswell_verify_pin_D0() to haswell_verify_D0(), since the convertor power state is also fixed here. This patch is mostly based on suggestion of David Henningsson. Cc: David Henningsson Signed-off-by: Mengdong Lin Signed-off-by: Takashi Iwai --- Reading git-diff-tree failed