]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: Intel: bxtn: Update DSP core state in D0
authorJeeja KP <jeeja.kp@intel.com>
Mon, 13 Mar 2017 16:41:26 +0000 (22:11 +0530)
committerMark Brown <broonie@kernel.org>
Wed, 15 Mar 2017 17:28:01 +0000 (17:28 +0000)
commit7a31da7d5b3bec8a9a359383d1fa90111cc37b1a
tree8a053286b60a713f9371068d59d63234816645fe
parent5cb992c606faca95200c3c860aebb4f6a0d6f49a
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>
sound/soc/intel/skylake/bxt-sst.c
sound/soc/intel/skylake/skl-sst-dsp.c