summaryrefslogtreecommitdiffstats
path: root/sound/soc/sof/intel/hda.h
diff options
context:
space:
mode:
authorBard Liao <yung-chuan.liao@linux.intel.com>2022-06-15 16:43:47 +0800
committerMark Brown <broonie@kernel.org>2022-06-15 09:56:56 +0100
commitab222a4aaecfafece1516c775143e1cb9eb31612 (patch)
tree0eb0f48dd9c5d569059be8bb8db0d8c0a4749655 /sound/soc/sof/intel/hda.h
parentd919630fe77904931277e663c902582ea6f4e4cf (diff)
downloadlinux-stable-ab222a4aaecfafece1516c775143e1cb9eb31612.tar.gz
linux-stable-ab222a4aaecfafece1516c775143e1cb9eb31612.tar.bz2
linux-stable-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/hda.h')
-rw-r--r--sound/soc/sof/intel/hda.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/sound/soc/sof/intel/hda.h b/sound/soc/sof/intel/hda.h
index f4e4cd7d7406..8b7f3c07d478 100644
--- a/sound/soc/sof/intel/hda.h
+++ b/sound/soc/sof/intel/hda.h
@@ -602,6 +602,7 @@ struct hdac_ext_stream *hda_cl_stream_prepare(struct snd_sof_dev *sdev, unsigned
int direction);
int hda_cl_cleanup(struct snd_sof_dev *sdev, struct snd_dma_buffer *dmab,
struct hdac_ext_stream *hext_stream);
+int cl_dsp_init(struct snd_sof_dev *sdev, int stream_tag, bool imr_boot);
#define HDA_CL_STREAM_FORMAT 0x40
/* pre and post fw run ops */