ASoC: SOF: ipc4: implement pm ctx_save callback
authorPeter Ujfalusi <peter.ujfalusi@linux.intel.com>
Fri, 10 Jun 2022 08:35:49 +0000 (11:35 +0300)
committerMark Brown <broonie@kernel.org>
Fri, 10 Jun 2022 12:31:43 +0000 (13:31 +0100)
commit63b9069653a710b08d5fd174ac05d43711356541
treedcdc21bd873555ce304aad36b7736116403089fe
parent7a5677407300e8ba6af95e66f4e8cfe23059f4a7
ASoC: SOF: ipc4: implement pm ctx_save callback

Use the context save callback to power down the primary core which is used
by the firmware as an indication that the DSP is going to be turned off.

The IMR boot setup is done in response to the primary core power down.

Signed-off-by: Peter Ujfalusi <peter.ujfalusi@linux.intel.com>
Reviewed-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com>
Reviewed-by: Bard Liao <yung-chuan.liao@linux.intel.com>
Reviewed-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Link: https://lore.kernel.org/r/20220610083549.16773-7-peter.ujfalusi@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/sof/ipc4.c