mirror of
https://github.com/edk2-porting/linux-next.git
synced 2024-12-19 10:44:14 +08:00
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);
|
synchronize_irq(ctx->irq_num);
|
||||||
flush_workqueue(ctx->post_msg_wq);
|
flush_workqueue(ctx->post_msg_wq);
|
||||||
|
|
||||||
|
ctx->ops->reset(ctx);
|
||||||
/* save the shim registers because PMC doesn't save state */
|
/* save the shim registers because PMC doesn't save state */
|
||||||
sst_save_shim64(ctx, ctx->shim, ctx->shim_regs64);
|
sst_save_shim64(ctx, ctx->shim, ctx->shim_regs64);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user