[alsa-devel] [PATCH 08/13] ASoC: Intel: reset the DSP while suspending
Vinod Koul
vinod.koul at intel.com
Thu Feb 12 05:30:00 CET 2015
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 at intel.com>
---
sound/soc/intel/sst/sst.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/sound/soc/intel/sst/sst.c b/sound/soc/intel/sst/sst.c
index 0fb1b0ea164c..ea85789641f2 100644
--- a/sound/soc/intel/sst/sst.c
+++ b/sound/soc/intel/sst/sst.c
@@ -412,6 +412,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);
--
1.7.9.5
More information about the Alsa-devel
mailing list