diff options
author | Bard Liao <yung-chuan.liao@linux.intel.com> | 2022-06-15 10:43:47 +0200 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2022-06-15 10:56:56 +0200 |
commit | ab222a4aaecfafece1516c775143e1cb9eb31612 (patch) | |
tree | 0eb0f48dd9c5d569059be8bb8db0d8c0a4749655 /sound/soc/sof/intel/icl.c | |
parent | ASoC: cs35l45: Add endianness flag in snd_soc_component_driver (diff) | |
download | linux-ab222a4aaecfafece1516c775143e1cb9eb31612.tar.xz linux-ab222a4aaecfafece1516c775143e1cb9eb31612.zip |
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/icl.c')
-rw-r--r-- | sound/soc/sof/intel/icl.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sound/soc/sof/intel/icl.c b/sound/soc/sof/intel/icl.c index f19517dffd62..4e37b7fe0627 100644 --- a/sound/soc/sof/intel/icl.c +++ b/sound/soc/sof/intel/icl.c @@ -152,6 +152,7 @@ const struct sof_intel_dsp_desc icl_chip_info = { .sdw_alh_base = SDW_ALH_BASE, .check_sdw_irq = hda_common_check_sdw_irq, .check_ipc_irq = hda_dsp_check_ipc_irq, + .cl_init = cl_dsp_init, .hw_ip_version = SOF_INTEL_CAVS_2_0, }; EXPORT_SYMBOL_NS(icl_chip_info, SND_SOC_SOF_INTEL_HDA_COMMON); |