Skip to content

Commit

Permalink
ASoC: Intel: reset the DSP while suspending
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Vinod Koul authored and Mark Brown committed Feb 23, 2015
1 parent a825ac7 commit de251d7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions sound/soc/intel/sst/sst.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down

0 comments on commit de251d7

Please sign in to comment.