* [PATCH] memory: fsl_ifc: populate child nodes of buses and mfd devices
@ 2022-03-07 20:41 Li Yang
2022-03-17 7:33 ` Krzysztof Kozlowski
2022-04-06 7:41 ` Krzysztof Kozlowski
0 siblings, 2 replies; 3+ messages in thread
From: Li Yang @ 2022-03-07 20:41 UTC (permalink / raw)
To: Krzysztof Kozlowski; +Cc: Li Yang, linux-kernel
Commit 98f1323959b8 was trying to replace the "simple-bus" compatible
with explicit bus populate in the driver. But of_platform_populate()
only populates child nodes of ifc without populating child buses and
child mfd devices residing under ifc. Change it to
of_platform_default_populate() to fix the problem.
Fixes: 98f1323959b8 ("memory: fsl_ifc: populate child devices without relying on simple-bus")
Signed-off-by: Li Yang <leoyang.li@nxp.com>
---
drivers/memory/fsl_ifc.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/drivers/memory/fsl_ifc.c b/drivers/memory/fsl_ifc.c
index 6e6de52bb82d..1604de863d41 100644
--- a/drivers/memory/fsl_ifc.c
+++ b/drivers/memory/fsl_ifc.c
@@ -290,8 +290,7 @@ static int fsl_ifc_ctrl_probe(struct platform_device *dev)
}
/* legacy dts may still use "simple-bus" compatible */
- ret = of_platform_populate(dev->dev.of_node, NULL, NULL,
- &dev->dev);
+ ret = of_platform_default_populate(dev->dev.of_node, NULL, &dev->dev);
if (ret)
goto err_free_nandirq;
--
2.25.1
^ permalink raw reply [flat|nested] 3+ messages in thread* Re: [PATCH] memory: fsl_ifc: populate child nodes of buses and mfd devices
2022-03-07 20:41 [PATCH] memory: fsl_ifc: populate child nodes of buses and mfd devices Li Yang
@ 2022-03-17 7:33 ` Krzysztof Kozlowski
2022-04-06 7:41 ` Krzysztof Kozlowski
1 sibling, 0 replies; 3+ messages in thread
From: Krzysztof Kozlowski @ 2022-03-17 7:33 UTC (permalink / raw)
To: Li Yang; +Cc: linux-kernel
On 07/03/2022 21:41, Li Yang wrote:
> Commit 98f1323959b8 was trying to replace the "simple-bus" compatible
> with explicit bus populate in the driver. But of_platform_populate()
> only populates child nodes of ifc without populating child buses and
> child mfd devices residing under ifc. Change it to
> of_platform_default_populate() to fix the problem.
>
> Fixes: 98f1323959b8 ("memory: fsl_ifc: populate child devices without relying on simple-bus")
>
> Signed-off-by: Li Yang <leoyang.li@nxp.com>
> ---
> drivers/memory/fsl_ifc.c | 3 +--
> 1 file changed, 1 insertion(+), 2 deletions(-)
>
It's too late for upcoming cycle (patches after rc6 usually do not make
it), so I will pick it up after merge window.
Best regards,
Krzysztof
^ permalink raw reply [flat|nested] 3+ messages in thread* Re: [PATCH] memory: fsl_ifc: populate child nodes of buses and mfd devices
2022-03-07 20:41 [PATCH] memory: fsl_ifc: populate child nodes of buses and mfd devices Li Yang
2022-03-17 7:33 ` Krzysztof Kozlowski
@ 2022-04-06 7:41 ` Krzysztof Kozlowski
1 sibling, 0 replies; 3+ messages in thread
From: Krzysztof Kozlowski @ 2022-04-06 7:41 UTC (permalink / raw)
To: Krzysztof Kozlowski, Li Yang; +Cc: Krzysztof Kozlowski, linux-kernel
On Mon, 7 Mar 2022 14:41:18 -0600, Li Yang wrote:
> Commit 98f1323959b8 was trying to replace the "simple-bus" compatible
> with explicit bus populate in the driver. But of_platform_populate()
> only populates child nodes of ifc without populating child buses and
> child mfd devices residing under ifc. Change it to
> of_platform_default_populate() to fix the problem.
>
> Fixes: 98f1323959b8 ("memory: fsl_ifc: populate child devices without relying on simple-bus")
>
> [...]
Applied, thanks!
[1/1] memory: fsl_ifc: populate child nodes of buses and mfd devices
commit: dd8adc713b1656ce469702eba8fc1adc4db91dc4
Best regards,
--
Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2022-04-06 11:19 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-03-07 20:41 [PATCH] memory: fsl_ifc: populate child nodes of buses and mfd devices Li Yang
2022-03-17 7:33 ` Krzysztof Kozlowski
2022-04-06 7:41 ` Krzysztof Kozlowski
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®