]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: Intel: Skylake: Check CPA bit in DSP core power down
authorJeeja KP <jeeja.kp@intel.com>
Fri, 9 Oct 2015 08:01:48 +0000 (09:01 +0100)
committerMark Brown <broonie@kernel.org>
Fri, 9 Oct 2015 10:18:58 +0000 (11:18 +0100)
commitbc84b09b5fedb03c0b75d25aaa03d074e9d1183b
tree0fa1ff64e12b79959fc0181e817f1741c318a4ff
parentb1ea641a9b2f6feb889c58b5dcda37aa6c6aac5c
ASoC: Intel: Skylake: Check CPA bit in DSP core power down

Skylake driver will set the SPA bit to 0 to turn off the DSP core.
Driver will poll the Current Power Active (CPA) bit to match the
Set Power Active (SPA) bit value. When CPA bit matches the value
of SPA bit, the achieved power state has reached.

In case of DSP power down, register that was polled is SPA
instead of CPA. This patch corrects the register to be polled
in case of DSP power down.

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>
sound/soc/intel/skylake/skl-sst-dsp.c