]> www.infradead.org Git - users/jedix/linux-maple.git/commit
ASoC: sdw_utils: Remove num_platforms from simple DAI helper
authorCharles Keepax <ckeepax@opensource.cirrus.com>
Mon, 5 May 2025 14:14:08 +0000 (15:14 +0100)
committerMark Brown <broonie@kernel.org>
Mon, 5 May 2025 22:48:39 +0000 (07:48 +0900)
commit8ce5ace8e279d39f249fd5ead33895d04263ea36
tree59ab2035a854e98035afbed48b947dd6aead6935
parent92a09c47464d040866cf2b4cd052bc60555185fb
ASoC: sdw_utils: Remove num_platforms from simple DAI helper

There is no point in passing num_platforms into
asoc_sdw_init_simple_dai_link(). Firstly, as a single pointer for the
component name is passed in only a single string can be passed and
secondly if it is a complex DAI with multiple platforms it would make
more sense to use asoc_sdw_init_dai_link().

Signed-off-by: Charles Keepax <ckeepax@opensource.cirrus.com>
Link: https://patch.msgid.link/20250505141409.2614010-2-ckeepax@opensource.cirrus.com
Signed-off-by: Mark Brown <broonie@kernel.org>
include/sound/soc_sdw_utils.h
sound/soc/amd/acp/acp-sdw-legacy-mach.c
sound/soc/amd/acp/acp-sdw-sof-mach.c
sound/soc/intel/boards/sof_sdw.c
sound/soc/sdw_utils/soc_sdw_utils.c