One fix for ulpi-node lookup at msm glue driver
-----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQEcBAABAgAGBQJaONRxAAoJEEhZKYFQ1nG7eGsH/jW+VX14utmEXt3CHFkTAmL8 gDUM/74opMiZVLSDDV+J/CFcNASj9Qk5X39928Y69x731b82yIR56Fmi4WOGX4m5 YD6JaMfgx0sTT76c07SUJYVkJCfI41NwR/YSJH79Mghy3Osuv40koh+DPTGQhjPY XjvfxIxwmsLvz7cMkTfIEOud4axaKpxvm/NOlwdCSrtGzp9G4GEcIpwz1MYpqaA/ Fnx60cqmiGG+vFuMjnwo+5bpSXpEWuIFfJujZwU0h7vLqqUMd8WwkHp92JnBr4+H jwgIZfC2adK4iLd/VvprVle3k8TY1L6oI4EjD7l1+Kge1q94B/I7Ubd7gvy6XmA= =2wh+ -----END PGP SIGNATURE----- Merge tag 'usb-ci-v4.15-rc5' of git://git.kernel.org/pub/scm/linux/kernel/git/peter.chen/usb into usb-linus Peter writes: One fix for ulpi-node lookup at msm glue driver
This commit is contained in:
commit
76916b663e
|
@ -247,7 +247,7 @@ static int ci_hdrc_msm_probe(struct platform_device *pdev)
|
|||
if (ret)
|
||||
goto err_mux;
|
||||
|
||||
ulpi_node = of_find_node_by_name(of_node_get(pdev->dev.of_node), "ulpi");
|
||||
ulpi_node = of_get_child_by_name(pdev->dev.of_node, "ulpi");
|
||||
if (ulpi_node) {
|
||||
phy_node = of_get_next_available_child(ulpi_node, NULL);
|
||||
ci->hsic = of_device_is_compatible(phy_node, "qcom,usb-hsic-phy");
|
||||
|
|
Loading…
Reference in a new issue