ASoC: SOF: Make sof_suspend/resume IPC agnostic
authorRanjani Sridharan <ranjani.sridharan@linux.intel.com>
Thu, 17 Mar 2022 17:50:28 +0000 (10:50 -0700)
committerMark Brown <broonie@kernel.org>
Fri, 18 Mar 2022 16:04:36 +0000 (16:04 +0000)
commit657774acd00f3d63ebae06e5d15a74e013cee0ed
treed0128ddef30c6043ad2d8f992dd45bd93831c928
parent051744b1bf0b13f63af5de3c296d04ab0cc6117c
ASoC: SOF: Make sof_suspend/resume IPC agnostic

Add a new set of IPC ops for PM with the ctx_save and ctx_restore ops
for suspend/resume and implement the ops for IPC3.

Signed-off-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com>
Reviewed-by: Péter Ujfalusi <peter.ujfalusi@linux.intel.com>
Reviewed-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Link: https://lore.kernel.org/r/20220317175044.1752400-4-ranjani.sridharan@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/sof/Makefile
sound/soc/sof/ipc.c
sound/soc/sof/ipc3-ops.h [new file with mode: 0644]
sound/soc/sof/ipc3-topology.c
sound/soc/sof/ipc3.c [new file with mode: 0644]
sound/soc/sof/pm.c
sound/soc/sof/sof-priv.h