ASoC: SOC: Intel: introduce cl_init callback
authorBard Liao <yung-chuan.liao@linux.intel.com>
Wed, 15 Jun 2022 08:43:47 +0000 (16:43 +0800)
committerMark Brown <broonie@kernel.org>
Wed, 15 Jun 2022 08:56:56 +0000 (09:56 +0100)
commitab222a4aaecfafece1516c775143e1cb9eb31612
tree0eb0f48dd9c5d569059be8bb8db0d8c0a4749655
parentd919630fe77904931277e663c902582ea6f4e4cf
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>
sound/soc/sof/intel/apl.c
sound/soc/sof/intel/cnl.c
sound/soc/sof/intel/hda-loader.c
sound/soc/sof/intel/hda.h
sound/soc/sof/intel/icl.c
sound/soc/sof/intel/shim.h
sound/soc/sof/intel/tgl.c