diff options
author | Vinod Koul <vinod.koul@intel.com> | 2016-03-15 16:39:25 +0530 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2016-03-16 10:08:43 +0000 |
commit | 3f7f8489e25b180cf8de8a3ae3896b3f18fc4aa5 (patch) | |
tree | a29d1fd0c228f507f079198d95e7c98d0a8689b6 /sound | |
parent | 7373f481dc4098a844a756201e98341bc56baaa2 (diff) | |
download | op-kernel-dev-3f7f8489e25b180cf8de8a3ae3896b3f18fc4aa5.zip op-kernel-dev-3f7f8489e25b180cf8de8a3ae3896b3f18fc4aa5.tar.gz |
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: Jeeja KP <jeeja.kp@intel.com>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound')
-rw-r--r-- | sound/soc/intel/skylake/skl-sst-dsp.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/sound/soc/intel/skylake/skl-sst-dsp.c b/sound/soc/intel/skylake/skl-sst-dsp.c index a5267e8..2962ef2 100644 --- a/sound/soc/intel/skylake/skl-sst-dsp.c +++ b/sound/soc/intel/skylake/skl-sst-dsp.c @@ -336,6 +336,11 @@ void skl_dsp_free(struct sst_dsp *dsp) skl_ipc_int_disable(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); } EXPORT_SYMBOL_GPL(skl_dsp_free); |