diff options
author | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-12-19 17:55:38 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-12-19 17:55:38 +0300 |
commit | 76916b663e8dd6d651ae13d0cb76ac3c45d2685e (patch) | |
tree | 704dd2ea9d9482ebe3f34dd87d9ccb4fa4b2a8b8 /drivers/usb | |
parent | 7f038d256c723dd390d2fca942919573995f4cfd (diff) | |
parent | 964728f9f407eca0b417fdf8e784b7a76979490c (diff) | |
download | linux-76916b663e8dd6d651ae13d0cb76ac3c45d2685e.tar.xz |
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
Diffstat (limited to 'drivers/usb')
-rw-r--r-- | drivers/usb/chipidea/ci_hdrc_msm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/chipidea/ci_hdrc_msm.c b/drivers/usb/chipidea/ci_hdrc_msm.c index 3593ce0ec641..880009987460 100644 --- a/drivers/usb/chipidea/ci_hdrc_msm.c +++ b/drivers/usb/chipidea/ci_hdrc_msm.c @@ -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"); |