Commit 03f69725 authored by Peter Ujfalusi's avatar Peter Ujfalusi Committed by Mark Brown

ASoC: SOF: make ctx_store and ctx_restore as optional

Commit 657774ac ("ASoC: SOF: Make sof_suspend/resume IPC agnostic")
did not marked ctx_store and ctx_restore as Optional.

Fixes: 657774ac ("ASoC: SOF: Make sof_suspend/resume IPC agnostic")
Signed-off-by: default avatarPeter Ujfalusi <peter.ujfalusi@linux.intel.com>
Reviewed-by: default avatarRanjani Sridharan <ranjani.sridharan@linux.intel.com>
Reviewed-by: default avatarBard Liao <yung-chuan.liao@linux.intel.com>
Reviewed-by: default avatarPierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Link: https://lore.kernel.org/r/20220610083549.16773-2-peter.ujfalusi@linux.intel.comSigned-off-by: default avatarMark Brown <broonie@kernel.org>
parent 142d4562
...@@ -376,8 +376,8 @@ struct sof_ipc_fw_tracing_ops { ...@@ -376,8 +376,8 @@ struct sof_ipc_fw_tracing_ops {
/** /**
* struct sof_ipc_pm_ops - IPC-specific PM ops * struct sof_ipc_pm_ops - IPC-specific PM ops
* @ctx_save: Function pointer for context save * @ctx_save: Optional function pointer for context save
* @ctx_restore: Function pointer for context restore * @ctx_restore: Optional function pointer for context restore
*/ */
struct sof_ipc_pm_ops { struct sof_ipc_pm_ops {
int (*ctx_save)(struct snd_sof_dev *sdev); int (*ctx_save)(struct snd_sof_dev *sdev);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment