diff options
author | Jeeja KP <jeeja.kp@intel.com> | 2017-03-13 17:41:26 +0100 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2017-03-15 18:28:01 +0100 |
commit | 1fb344a33a2f99378128281df97770e2c5182c2d (patch) | |
tree | 8a053286b60a713f9371068d59d63234816645fe /sound/soc/intel/skylake/bxt-sst.c | |
parent | ASoC: Intel: bxtn: Disable interrupt when DSP is in D3 (diff) | |
download | linux-1fb344a33a2f99378128281df97770e2c5182c2d.tar.xz linux-1fb344a33a2f99378128281df97770e2c5182c2d.zip |
ASoC: Intel: bxtn: Update DSP core state in D0
In system suspend, firmware needs to be re-downloaded as IMR is cleared.
When firmware is downloaded in D0, core state is not set to running
state causing instability with subsequent D0-D3 cycles.
So set the core state correctly during D0 and check the DSP core state
if not in reset to set the DSP to 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.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sound/soc/intel/skylake/bxt-sst.c b/sound/soc/intel/skylake/bxt-sst.c index b34c96508605..2a2bb944cd40 100644 --- a/sound/soc/intel/skylake/bxt-sst.c +++ b/sound/soc/intel/skylake/bxt-sst.c @@ -446,6 +446,7 @@ static int bxt_set_dsp_D0(struct sst_dsp *ctx, unsigned int core_id) return ret; } } + skl->cores.state[core_id] = SKL_DSP_RUNNING; return ret; } |