Skip to content

Commit 9cb6d1b

Browse files
Marek VasutShawn Guo
authored andcommitted
soc: imx: imx8m-blk-ctrl: Scan subnodes and bind drivers to them
This particular block can have DT subnodes describing the LVDS LDB bridge. Instead of misusing simple-bus to scan for those nodes, do the scan within the driver. Tested-by: Alexander Stein <alexander.stein@ew.tq-group.com> Signed-off-by: Marek Vasut <marex@denx.de> Reviewed-by: Lucas Stach <l.stach@pengutronix.de> Signed-off-by: Shawn Guo <shawnguo@kernel.org>
1 parent 300bd12 commit 9cb6d1b

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

drivers/soc/imx/imx8m-blk-ctrl.c

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -310,6 +310,10 @@ static int imx8m_blk_ctrl_probe(struct platform_device *pdev)
310310

311311
dev_set_drvdata(dev, bc);
312312

313+
ret = devm_of_platform_populate(dev);
314+
if (ret)
315+
goto cleanup_provider;
316+
313317
return 0;
314318

315319
cleanup_provider:

0 commit comments

Comments
 (0)