ALSA: hda - hdmi: Re-setup pin and infoframe on plug-in on all codecs
authorAnssi Hannula <anssi.hannula@iki.fi>
Thu, 24 Oct 2013 22:45:18 +0000 (01:45 +0300)
committerTakashi Iwai <tiwai@suse.de>
Thu, 24 Oct 2013 23:03:20 +0000 (01:03 +0200)
commit7342017f4a0f129d277f78b8761f2732661ba30a
tree36f943237166cfc92d9e71ce058d75f3055f608f
parent84d69e790f48ff2e8472a8cf602243e43683eaf0
ALSA: hda - hdmi: Re-setup pin and infoframe on plug-in on all codecs

hdmi_setup_audio_infoframe() does not set up pin and infoframe if there
is no connected sink. If a sink is connected while audio playback is
already in progress, the pin and infoframe will not be properly set up,
causing no audio or wrongly mapped audio.

On Intel Haswell codecs the hdmi_setup_audio_infoframe() is already
called again from hdmi_present_sense() when an ELD appears because
transcoder:port mapping may have changed.

Make the call non-Haswell-specific so that audio will be properly set up
if the playback was started before a sink was connected.

Tested on non-Haswell Intel HDMI codec by plugging sink in during
playback.

Signed-off-by: Anssi Hannula <anssi.hannula@iki.fi>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/hda/patch_hdmi.c
This page took 0.027151 seconds and 5 git commands to generate.