diff options
author | Bard Liao <yung-chuan.liao@linux.intel.com> | 2022-06-15 11:43:47 +0300 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2022-06-15 11:56:56 +0300 |
commit | ab222a4aaecfafece1516c775143e1cb9eb31612 (patch) | |
tree | 0eb0f48dd9c5d569059be8bb8db0d8c0a4749655 /sound/soc/sof/intel/shim.h | |
parent | d919630fe77904931277e663c902582ea6f4e4cf (diff) | |
download | linux-ab222a4aaecfafece1516c775143e1cb9eb31612.tar.xz |
ASoC: SOC: Intel: introduce cl_init callback
The code loader init sequences are different between versions of
Intel platforms. Have a cl_init callback allows us to reuse the
common code.
No function changed.
Signed-off-by: Bard Liao <yung-chuan.liao@linux.intel.com>
Reviewed-by: Péter Ujfalusi <peter.ujfalusi@linux.intel.com>
Reviewed-by: Rander Wang <rander.wang@intel.com>
Reviewed-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com>
Link: https://lore.kernel.org/r/20220615084348.3489-2-yung-chuan.liao@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/sof/intel/shim.h')
-rw-r--r-- | sound/soc/sof/intel/shim.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sound/soc/sof/intel/shim.h b/sound/soc/sof/intel/shim.h index 1fd7b485d821..371991fa474f 100644 --- a/sound/soc/sof/intel/shim.h +++ b/sound/soc/sof/intel/shim.h @@ -185,6 +185,7 @@ struct sof_intel_dsp_desc { enum sof_intel_hw_ip_version hw_ip_version; bool (*check_sdw_irq)(struct snd_sof_dev *sdev); bool (*check_ipc_irq)(struct snd_sof_dev *sdev); + int (*cl_init)(struct snd_sof_dev *sdev, int stream_tag, bool imr_boot); }; extern struct snd_sof_dsp_ops sof_tng_ops; |