diff options
author | Vinod Koul <vinod.koul@intel.com> | 2015-02-12 10:00:00 +0530 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2015-02-24 00:39:00 +0900 |
commit | de251d773bb214fa5e7666a0da1225528e07da5e (patch) | |
tree | 931dcf97ddf70680d36a94074663d01e34e8082a /sound/soc | |
parent | a825ac7678a43f7a22ff19842baebcf4aa14e950 (diff) | |
download | linux-de251d773bb214fa5e7666a0da1225528e07da5e.tar.bz2 |
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/soc')
-rw-r--r-- | sound/soc/intel/sst/sst.c | 1 |
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); |