[PATCH] mmc: sdhci-of-aspeed: depopulate slots before disabling clock
Pengpeng Hou
pengpeng at iscas.ac.cn
Wed Dec 2 19:55:38 PST 2026
Hi Adrian,
I checked the create and remove paths. The controller registers each
slot with of_platform_device_create(), while of_platform_depopulate()
checks OF_POPULATED_BUS on the parent before walking its children.
The slot creation loop doesn't set that flag. So the ordering I
proposed would not actually unregister those slots before clock-off.
Please drop this version. The placement of the platform PM callbacks
is a separate question; moving them wouldn't fix that mismatch.
Thanks,
Pengpeng
More information about the linux-arm-kernel
mailing list