diff options
author | 2024-05-30 14:19:17 +0300 | |
---|---|---|
committer | 2024-05-30 12:33:31 +0100 | |
commit | 2fcad03eaba1b86e6b829f73a9e75e681b7f3106 (patch) | |
tree | d7f2a1a9f46ddafdcfffaf76fd171005c0945521 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | ASoC: SOF: ipc4-topology/pcm: Rename sof_ipc4_copier_is_single_format() (diff) | |
download | wireguard-linux-2fcad03eaba1b86e6b829f73a9e75e681b7f3106.tar.xz wireguard-linux-2fcad03eaba1b86e6b829f73a9e75e681b7f3106.zip |
ASoC: SOF: ipc4-topology: Improve readability of sof_ipc4_prepare_dai_copier()
Remove the duplicated code paths to check for single bit depth and to
update the params with storing the parameters needed by the function and
have a single code section.
No functional change but the code is easier to follow.
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-5-peter.ujfalusi@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions