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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 17 Dec 2018 08:24:32 +0000 (09:24 +0100)
commit88e8e3c710b1621f2d1854307078edc9bace65f3
tree219f799172ce3b4de7ced2b057ea9303cc176da6
parent737f3bb3e4be365707438421f25b3e28f1bdaf7a
ASoC: Intel: Power down links before turning off display audio power

[ Upstream commit 4c10473d6ddf12ec124c9ff71a5d23bb5388478b ]

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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
sound/soc/codecs/hdac_hdmi.c
sound/soc/intel/skylake/skl.c