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>
This commit is contained in:
parent
a825ac7678
commit
de251d773b
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in New Issue