summaryrefslogtreecommitdiff
path: root/sound
diff options
context:
space:
mode:
authorVinod Koul <vinod.koul@intel.com>2015-02-12 07:30:00 +0300
committerMark Brown <broonie@kernel.org>2015-02-23 18:39:00 +0300
commitde251d773bb214fa5e7666a0da1225528e07da5e (patch)
tree931dcf97ddf70680d36a94074663d01e34e8082a /sound
parenta825ac7678a43f7a22ff19842baebcf4aa14e950 (diff)
downloadlinux-de251d773bb214fa5e7666a0da1225528e07da5e.tar.xz
ASoC: Intel: reset the DSP while suspending
The manual recommends that we reset the DSP when we suspend so add that in runtime suspend handler Signed-off-by: Vinod Koul <vinod.koul@intel.com> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound')
-rw-r--r--sound/soc/intel/sst/sst.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sound/soc/intel/sst/sst.c b/sound/soc/intel/sst/sst.c
index 97234ec4e416..11c578651c1c 100644
--- a/sound/soc/intel/sst/sst.c
+++ b/sound/soc/intel/sst/sst.c
@@ -416,6 +416,7 @@ static int intel_sst_runtime_suspend(struct device *dev)
synchronize_irq(ctx->irq_num);
flush_workqueue(ctx->post_msg_wq);
+ ctx->ops->reset(ctx);
/* save the shim registers because PMC doesn't save state */
sst_save_shim64(ctx, ctx->shim, ctx->shim_regs64);