summaryrefslogtreecommitdiff
path: root/sound/soc/sof/ipc4-topology.h
diff options
context:
space:
mode:
authorBard Liao <yung-chuan.liao@linux.intel.com>2023-09-15 12:35:06 +0300
committerMark Brown <broonie@kernel.org>2023-09-15 15:15:27 +0300
commit94fc6da924072399e4f475c7d7124a7272197e6a (patch)
treec344785d13648976acce214c9b247bd08a1ab120 /sound/soc/sof/ipc4-topology.h
parent353bc9924cb1b7176fdc4ebb3610306398f41c94 (diff)
downloadlinux-94fc6da924072399e4f475c7d7124a7272197e6a.tar.xz
ASoC: SOF: ipc4-topology: export sof_ipc4_copier_is_single_format
We will use the sof_ipc4_copier_is_single_format() function to check if a ipc4 copier has single format available in ipc4-pcm.c in the next patch. Signed-off-by: Bard Liao <yung-chuan.liao@linux.intel.com> Reviewed-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com> Reviewed-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com> Signed-off-by: Peter Ujfalusi <peter.ujfalusi@linux.intel.com> Link: https://lore.kernel.org/r/20230915093507.7242-2-peter.ujfalusi@linux.intel.com Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/sof/ipc4-topology.h')
-rw-r--r--sound/soc/sof/ipc4-topology.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/sound/soc/sof/ipc4-topology.h b/sound/soc/sof/ipc4-topology.h
index d75f17f4749c..d94f0ab4aee3 100644
--- a/sound/soc/sof/ipc4-topology.h
+++ b/sound/soc/sof/ipc4-topology.h
@@ -442,4 +442,7 @@ struct sof_ipc4_process {
u32 init_config;
};
+bool sof_ipc4_copier_is_single_format(struct snd_sof_dev *sdev,
+ struct sof_ipc4_pin_format *pin_fmts,
+ u32 pin_fmts_size);
#endif