summaryrefslogtreecommitdiff
path: root/sound/soc/intel/skylake/bxt-sst.c
diff options
context:
space:
mode:
authorJeeja KP <jeeja.kp@intel.com>2017-03-13 19:41:25 +0300
committerMark Brown <broonie@kernel.org>2017-03-15 20:27:58 +0300
commit5518af9f97940e84de6a4bf6fed212a95278f818 (patch)
treef87620833d5a1231a4d20468195816b238a2ad1b /sound/soc/intel/skylake/bxt-sst.c
parent3b563e0a8406bf47cd39ca59f8453b3d968d996a (diff)
downloadlinux-5518af9f97940e84de6a4bf6fed212a95278f818.tar.xz
ASoC: Intel: bxtn: Disable interrupt when DSP is in D3
When DSP is in D3, no interrupts are expected, so disable interrupt while entering D3. Signed-off-by: Jeeja KP <jeeja.kp@intel.com> Acked-by: Vinod Koul <vinod.koul@intel.com> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/intel/skylake/bxt-sst.c')
-rw-r--r--sound/soc/intel/skylake/bxt-sst.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/sound/soc/intel/skylake/bxt-sst.c b/sound/soc/intel/skylake/bxt-sst.c
index d3be1be5a372..b34c96508605 100644
--- a/sound/soc/intel/skylake/bxt-sst.c
+++ b/sound/soc/intel/skylake/bxt-sst.c
@@ -537,6 +537,11 @@ static int bxt_set_dsp_D3(struct sst_dsp *ctx, unsigned int core_id)
"Failed to set DSP to D3:core id = %d;Continue reset\n",
core_id);
+ if (core_id == SKL_DSP_CORE0_ID) {
+ /* disable Interrupt */
+ skl_ipc_op_int_disable(ctx);
+ skl_ipc_int_disable(ctx);
+ }
ret = skl_dsp_disable_core(ctx, core_mask);
if (ret < 0) {
dev_err(ctx->dev, "Failed to disable core %d\n", ret);