projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a825ac7
)
ASoC: Intel: reset the DSP while suspending
author
Vinod Koul
<vinod.koul@intel.com>
Thu, 12 Feb 2015 04:30:00 +0000
(10:00 +0530)
committer
Mark Brown
<broonie@kernel.org>
Mon, 23 Feb 2015 15:39:00 +0000
(
00:39
+0900)
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>
sound/soc/intel/sst/sst.c
patch
|
blob
|
blame
|
history
diff --git
a/sound/soc/intel/sst/sst.c
b/sound/soc/intel/sst/sst.c
index 97234ec4e416b204f2dbbc23f1053b1b4f54307a..11c578651c1c8cc778904ebb7665587cde44beef 100644
(file)
--- 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);