]> Gentwo Git Trees - linux/.git/commit
drm/amdgpu: use static ids for ACP platform devs
authorBrady Norander <bradynorander@gmail.com>
Tue, 25 Mar 2025 21:05:17 +0000 (17:05 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 2 Dec 2025 16:02:07 +0000 (11:02 -0500)
commit0300e6d6ff63ff86f9acca65071ecbfff50eb575
tree2bcf7620877ad3e21a62d83cdc58b0ee475d5a05
parentc8e7e3c2215e286ebfe66fe828ed426546c519e6
drm/amdgpu: use static ids for ACP platform devs

mfd_add_hotplug_devices() assigns child platform devices with
PLATFORM_DEVID_AUTO, but the ACP machine drivers expect the platform
device names to never change. Use mfd_add_devices() instead and give
each cell a unique id.

Signed-off-by: Brady Norander <bradynorander@gmail.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_acp.c