]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: SOF: Intel: fix the suspend procedure to support s0ix entry
authorMarcin Rajwa <marcin.rajwa@linux.intel.com>
Mon, 27 Jul 2020 18:36:12 +0000 (11:36 -0700)
committerMark Brown <broonie@kernel.org>
Tue, 28 Jul 2020 15:22:34 +0000 (16:22 +0100)
commit977af61c49d5b2fa3cb8c3c5dbdda09b3d8e4a25
tree31774a6180deea15d30bc44c3d41a9a0fcea82ec
parent99ae4e6475aa65452d1bb48dc47bb5c3054d3d23
ASoC: SOF: Intel: fix the suspend procedure to support s0ix entry

This patch fixes the suspend & resume procedure to allow entry into the
low power states with some streams being active as a wake source - wake on
voice is a perfect example. The current implementation does not stop
the CORB/RIRB DMA and does not power down the HDA links. With firmware's
help, the platform has been able to still enter s0ix state on older
platforms, but the sequence is still incorrect, and the additional
driver actions are needed to ensure correct s0ix behaviour.

Signed-off-by: Marcin Rajwa <marcin.rajwa@linux.intel.com>
Signed-off-by: Keyon Jie <yang.jie@linux.intel.com>
Signed-off-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com>
Reviewed-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Reviewed-by: Kai Vehmanen <kai.vehmanen@linux.intel.com>
Link: https://lore.kernel.org/r/20200727183613.1419005-2-ranjani.sridharan@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/sof/intel/hda-dsp.c