ASoC: Intel: Power down links before turning off display audio power
authorPierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Fri, 9 Nov 2018 19:39:23 +0000 (13:39 -0600)
committerMark Brown <broonie@kernel.org>
Tue, 13 Nov 2018 19:06:18 +0000 (11:06 -0800)
commit4c10473d6ddf12ec124c9ff71a5d23bb5388478b
tree4bded2b404a8a0f78afb1bc2d47278b165e11414
parent20e00db2f59bdddf8a8e241473ef8be94631d3ae
ASoC: Intel: Power down links before turning off display audio power

On certain platforms, Display HDMI HDA codec was not going to sleep state
after the use when links are powered down after turning off the display
power. As per the HW recommendation, links are powered down before turning
off the display power to ensure that the codec goes to sleep state.

This patch was updated from an earlier version submitted upstream [1]
which conflicted with the changes merged for HDaudio codec support
with the Intel DSP.

[1] https://patchwork.kernel.org/patch/10540213/

Signed-off-by: Sriram Periyasamy <sriramx.periyasamy@intel.com>
Signed-off-by: Sanyog Kale <sanyog.r.kale@intel.com>
Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/hdac_hdmi.c
sound/soc/intel/skylake/skl.c