summaryrefslogtreecommitdiffstats
path: root/sound/soc/tegra/tegra_wm9712.c
diff options
context:
space:
mode:
authorMengdong Lin <mengdong.lin@intel.com>2014-03-20 06:01:06 +0100
committerTakashi Iwai <tiwai@suse.de>2014-03-20 07:36:17 +0100
commit2df6742f613840a0b0a1590fb28f7af5b058a673 (patch)
treefa4ba7e30daf271d847ad65e573968d46ef58de8 /sound/soc/tegra/tegra_wm9712.c
parentMerge branch 'topic/alc28x' into for-next (diff)
downloadlinux-2df6742f613840a0b0a1590fb28f7af5b058a673.tar.xz
linux-2df6742f613840a0b0a1590fb28f7af5b058a673.zip
ALSA: hda - verify pin:cvt connection on preparing a stream for Intel HDMI codec
This is a temporary fix for some Intel HDMI codecs to avoid no sound output for a resuming playback after S3. After S3, the audio driver restores pin:cvt connection selections by snd_hda_codec_resume_cache(). However this can happen before the gfx side is ready and such connect selection is overlooked by HW. After gfx is ready, the pins make the default selection again. And this will cause multiple pins share a same convertor and mute control will affect each other. Thus a resumed audio playback become silent after S3. This patch verifies pin:cvt connection on preparing a stream, to assure the pin selects the right convetor and an assigned convertor is not shared by other unused pins. Apply this fix-up on Haswell, Broadwell and Valleyview (Baytrail). We need this temporary fix before a reliable software communication channel is established between audio and gfx, to sync audio/gfx operations. Signed-off-by: Mengdong Lin <mengdong.lin@intel.com> Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/soc/tegra/tegra_wm9712.c')
0 files changed, 0 insertions, 0 deletions