提交 3f7f8489 编写于 作者: V Vinod Koul 提交者: Mark Brown

ASoC: Intel: Skylake: Freeup properly on skl_dsp_free

We are supposed to freeup the Code loader DMA allocation and
ensure all interrupts are disabled before we disable dsp cores.
So invoke these to ensure DSP shuts down properly.
Signed-off-by: NJeeja KP <jeeja.kp@intel.com>
Signed-off-by: NVinod Koul <vinod.koul@intel.com>
Signed-off-by: NMark Brown <broonie@kernel.org>
上级 7373f481
...@@ -336,6 +336,11 @@ void skl_dsp_free(struct sst_dsp *dsp) ...@@ -336,6 +336,11 @@ void skl_dsp_free(struct sst_dsp *dsp)
skl_ipc_int_disable(dsp); skl_ipc_int_disable(dsp);
free_irq(dsp->irq, dsp); free_irq(dsp->irq, dsp);
dsp->cl_dev.ops.cl_cleanup_controller(dsp);
skl_cldma_int_disable(dsp);
skl_ipc_op_int_disable(dsp);
skl_ipc_int_disable(dsp);
skl_dsp_disable_core(dsp); skl_dsp_disable_core(dsp);
} }
EXPORT_SYMBOL_GPL(skl_dsp_free); EXPORT_SYMBOL_GPL(skl_dsp_free);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册