diff options
author | Peter Ujfalusi <peter.ujfalusi@linux.intel.com> | 2024-05-30 14:19:17 +0300 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2024-05-30 12:33:31 +0100 |
commit | 2fcad03eaba1b86e6b829f73a9e75e681b7f3106 (patch) | |
tree | d7f2a1a9f46ddafdcfffaf76fd171005c0945521 /drivers/usb/cdns3/cdns3-debug.h | |
parent | 3b64fd2f83f203f5a34faed3dadf6464313f827d (diff) |
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 'drivers/usb/cdns3/cdns3-debug.h')
0 files changed, 0 insertions, 0 deletions