From: Jeeja KP Date: Fri, 9 Oct 2015 08:01:51 +0000 (+0100) Subject: ASoC: Intel: Skylake: power down all link in suspend X-Git-Tag: KARO-TX6UL-2015-11-03~79^2~7^2~6^3~13 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=01bb84b5001e4a6221582b163b34e90b3095f451;p=karo-tx-linux.git ASoC: Intel: Skylake: power down all link in suspend This ensures that the link is not requesting any clock and the PLL can turn off. The link is powered when controller is brought out of reset. Signed-off-by: Jeeja KP Signed-off-by: Vinod Koul Signed-off-by: Mark Brown --- diff --git a/sound/soc/intel/skylake/skl.c b/sound/soc/intel/skylake/skl.c index ca135b8ab5c0..5319529aedf7 100644 --- a/sound/soc/intel/skylake/skl.c +++ b/sound/soc/intel/skylake/skl.c @@ -173,6 +173,9 @@ static int skl_runtime_suspend(struct device *dev) /* enable controller wake up event */ snd_hdac_chip_updatew(bus, WAKEEN, 0, STATESTS_INT_MASK); + + snd_hdac_ext_bus_link_power_down_all(ebus); + ret = skl_suspend_dsp(skl); if (ret < 0) return ret;