Re: [PATCH] mmc: sdhci-of-aspeed: depopulate slots before disabling clock

From: Pengpeng Hou

Date: Wed Dec 02 2026 - 22:55:55 EST


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