diff options
author | Charles Keepax <ckeepax@opensource.cirrus.com> | 2023-08-01 00:42:56 +0300 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2023-08-01 01:22:42 +0300 |
commit | a386162e7dc2c8bc1be2777b1c6d41156f69b210 (patch) | |
tree | bb154e553966fe10c593e7a0af1d09f2f5deabd6 /sound/soc/intel/boards/skl_nau88l25_max98357a.c | |
parent | 98a7a1143f83289a84cba6dab60a4531cc4dfae2 (diff) | |
download | linux-a386162e7dc2c8bc1be2777b1c6d41156f69b210.tar.xz |
ASoC: intel: sof_sdw: Merge codec_conf_alloc into dailink_info
Rename get_sdw_dailink_info to simply get_dailink_info and have it also
return the number of codecs present. Then hoist the allocation of the
codec conf structure up into sof_card_dai_links_create. This saves an
extra loop through the adr_link array, allows us to get rid of
sof_card_codec_conf_alloc and makes the allocation more explicit.
Reviewed-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com>
Reviewed-by: Bard Liao <yung-chuan.liao@linux.intel.com>
Signed-off-by: Charles Keepax <ckeepax@opensource.cirrus.com>
Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Link: https://lore.kernel.org/r/20230731214257.444605-23-pierre-louis.bossart@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/intel/boards/skl_nau88l25_max98357a.c')
0 files changed, 0 insertions, 0 deletions