usb: musb: sunxi: propagate devicetree node to glue pdev
PATCH RESEND 1/1 usb: musb: sunxi: propagate devicetree node to glue pdev
In order for devicetree nodes to be correctly associated with attached devices, the controller node needs to be propagated to the glue device.
Signed-off-by Mans Rullgard <[email protected]>
--- drivers/usb/musb/sunxi.c | 2 ++ 1 file changed, 2 insertions(+)
drivers/usb/musb/sunxi.c +2 -0
@@ -781,6 +781,8 @@ static int sunxi_musb_probe(struct platform_device *pdev) pinfo.name ="musb-hdrc" ; pinfo.id =PLATFORM_DEVID_AUTO ; pinfo.parent = &pdev->dev; + pinfo.fwnode =of_fwnode_handle (pdev->dev.of_node); + pinfo.of_node_reused = true; pinfo.res = pdev->resource; pinfo.num_res = pdev->num_resources; pinfo.data = &pdata;
Signature · 1 line
2.22.0
Quoted 4 lines · Mans Rullgard
In order for devicetree nodes to be correctly associated with attached devices, the controller node needs to be propagated to the glue device.
Signed-off-by Mans Rullgard <[email protected]>
Applied. Thanks.
-Bin.
_______________________________________________
linux-arm-kernel mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel