aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJeeja KP <jeeja.kp@intel.com>2015-10-09 04:01:51 -0400
committerMark Brown <broonie@kernel.org>2015-10-09 06:19:01 -0400
commit01bb84b5001e4a6221582b163b34e90b3095f451 (patch)
treef6c6d8d00d209534a56adc6c17a630ab6c6d1586
parent84c9e2836aa7c87b19a24de091c7e7cf16124645 (diff)
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 <jeeja.kp@intel.com> Signed-off-by: Vinod Koul <vinod.koul@intel.com> Signed-off-by: Mark Brown <broonie@kernel.org>
-rw-r--r--sound/soc/intel/skylake/skl.c3
1 files changed, 3 insertions, 0 deletions
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)
173 173
174 /* enable controller wake up event */ 174 /* enable controller wake up event */
175 snd_hdac_chip_updatew(bus, WAKEEN, 0, STATESTS_INT_MASK); 175 snd_hdac_chip_updatew(bus, WAKEEN, 0, STATESTS_INT_MASK);
176
177 snd_hdac_ext_bus_link_power_down_all(ebus);
178
176 ret = skl_suspend_dsp(skl); 179 ret = skl_suspend_dsp(skl);
177 if (ret < 0) 180 if (ret < 0)
178 return ret; 181 return ret;