memory: fsl_ifc: populate child nodes of buses and mfd devices
authorLi Yang <leoyang.li@nxp.com>
Mon, 7 Mar 2022 20:41:18 +0000 (14:41 -0600)
committerKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Wed, 6 Apr 2022 07:39:16 +0000 (09:39 +0200)
commitdd8adc713b1656ce469702eba8fc1adc4db91dc4
tree93883d025eed4837af7b23424f2f350ffe643851
parent4f9f45d0eb0e7d449bc9294459df79b9c66edfac
memory: fsl_ifc: populate child nodes of buses and mfd devices

Commit 3e25f800afb8 ("memory: fsl_ifc: populate child devices without
relying on simple-bus") 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: 3e25f800afb8 ("memory: fsl_ifc: populate child devices without relying on simple-bus")
Signed-off-by: Li Yang <leoyang.li@nxp.com>
Link: https://lore.kernel.org/r/20220307204118.19093-1-leoyang.li@nxp.com
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
drivers/memory/fsl_ifc.c