diff options
author | Charles Keepax <ckeepax@opensource.cirrus.com> | 2023-08-08 14:20:07 +0100 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2023-08-08 18:57:20 +0100 |
commit | c3d7e29ad82ee689b1adf5ea7806b9d06eb098c0 (patch) | |
tree | e1b8501c5b8b28339471cbf6bf2c33d8c446482f /README | |
parent | 92e9f10a093529f85b7557b0627531728d89afa2 (diff) |
ASoC: intel: sof_sdw: Pull device loop up into create_sdw_dailink
The loops which fill the codec DAI link component structures are split
across create_sdw_dailink and create_codec_dai_name. This causes the
code to be rather confusing, needing to return out the function to allow
the upper loop to iterate. Remove the create_codec_dai_name helper and
pull its code up into create_sdw_dailink, this makes it more obvious
what is happening in the code. This patch makes no functional change
just hoists the code up a level.
Reviewed-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Reviewed-by: Bard Liao <yung-chuan.liao@linux.intel.com>
Signed-off-by: Charles Keepax <ckeepax@opensource.cirrus.com>
Link: https://lore.kernel.org/r/20230808132013.889419-6-ckeepax@opensource.cirrus.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'README')
0 files changed, 0 insertions, 0 deletions