]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitb2fc6d92e4b612329fa7c5bbbbdd8843a563def8
treedcdc21bd873555ce304aad36b7736116403089fe
parent491a0ea08edc3ed4996658ec6f0068f48fa11008
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