]> www.infradead.org Git - users/jedix/linux-maple.git/commit
ASoC: amd: use new ACP dev names for DAI links
authorBrady Norander <bradynorander@gmail.com>
Sun, 30 Mar 2025 13:08:45 +0000 (09:08 -0400)
committerMark Brown <broonie@kernel.org>
Wed, 14 May 2025 13:15:59 +0000 (15:15 +0200)
commit51590571433e32cacce10b11051c6ff056bf0aa8
treef6cd549811f5fe4aa6772c660a80664e67c6e353
parent0e4e9d75899cae4e7f379c50fa3d0121eff9641f
ASoC: amd: use new ACP dev names for DAI links

On AMD SoC platforms with an ACP2x gpu ip block (such as stoneyridge),
the amdgpu driver will create several platform devices for the ACP ASoC
driver to communicate with the ACP hardware block on the gpu. These
platform devices include dma for audio and one or multiple i2s
interfaces. The amdgpu driver has always created these platform devices
with automatic ids. The ASoC machine drives hardcode the platform device
name. This creates an issue where if the ACP platform devices are not
the first to be created, the ids can be different to what the machine
drivers expect, causing them to not find the ACP platform devices and
failing to load. Switch to using static ids for these ACP platform
devices so that the names never change.

Depends on patch: drm/amdgpu: use static ids for ACP platform devs [1]

[1] https://lore.kernel.org/all/20250325210517.2097188-1-bradynorander@gmail.com/

Signed-off-by: Brady Norander <bradynorander@gmail.com>
Link: https://patch.msgid.link/20250330130844.37870-2-bradynorander@gmail.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/amd/acp-da7219-max98357a.c
sound/soc/amd/acp-es8336.c
sound/soc/amd/acp-rt5645.c