Re: [PATCH] memory: jz4780-nemc: publish drvdata before creating children

From: Krzysztof Kozlowski

Date: Thu Dec 03 2026 - 05:17:41 EST


On 03/12/2026 04:52, Pengpeng Hou wrote:
> Hi Krzysztof,
>
> You're right that I combined two different changes. The children are
> created individually with of_platform_device_create(); that doesn't
> set OF_POPULATED_BUS on the parent. My of_platform_depopulate() call
> isn't the inverse of that registration.
>
> The drvdata ordering is separate: a child can probe during device
> registration, before the parent reaches platform_set_drvdata(). My
> evidence for that ordering is source inspection, not a failing board
> test. I'll drop the teardown change rather than claim it fixes removal.
>

What are you referring to? Half year old email without any context?

Best regards,
Krzysztof