mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-10-05 08:26:59 +00:00
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>
This commit is contained in:
parent
300bd129f9
commit
9cb6d1b39a
1 changed files with 4 additions and 0 deletions
|
@ -310,6 +310,10 @@ static int imx8m_blk_ctrl_probe(struct platform_device *pdev)
|
||||||
|
|
||||||
dev_set_drvdata(dev, bc);
|
dev_set_drvdata(dev, bc);
|
||||||
|
|
||||||
|
ret = devm_of_platform_populate(dev);
|
||||||
|
if (ret)
|
||||||
|
goto cleanup_provider;
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
|
|
||||||
cleanup_provider:
|
cleanup_provider:
|
||||||
|
|
Loading…
Reference in a new issue