ASoC: SOF: ipc4-topology/pcm: Rename sof_ipc4_copier_is_single_format()
authorPeter Ujfalusi <peter.ujfalusi@linux.intel.com>
Thu, 30 May 2024 11:19:16 +0000 (14:19 +0300)
committerMark Brown <broonie@kernel.org>
Thu, 30 May 2024 11:33:30 +0000 (12:33 +0100)
commit3b64fd2f83f203f5a34faed3dadf6464313f827d
tree2b3d8f976ce1982b516cbef10e4afcfe4207b227
parent2a865c9c3fb0289a95f1cb51b42d248736ff45cb
ASoC: SOF: ipc4-topology/pcm: Rename sof_ipc4_copier_is_single_format()

Rename the sof_ipc4_copier_is_single_format() to
sof_ipc4_copier_is_single_bitdepth() to clear the confusion of the use of
'format' when we are querying information on the bit depth.
Format is used to describe a combination of parameters (rate, channels,
sample format / bit depth).
Rename the flags used to store the result at the same time.

Signed-off-by: Peter Ujfalusi <peter.ujfalusi@linux.intel.com>
Reviewed-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Reviewed-by: Bard Liao <yung-chuan.liao@linux.intel.com>
Reviewed-by: Seppo Ingalsuo <seppo.ingalsuo@linux.intel.com>
Reviewed-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com>
Link: https://msgid.link/r/20240530111918.21974-4-peter.ujfalusi@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/sof/ipc4-pcm.c
sound/soc/sof/ipc4-topology.c
sound/soc/sof/ipc4-topology.h