summaryrefslogtreecommitdiff
path: root/drivers/phy/motorola
diff options
context:
space:
mode:
authorJohan Hovold <johan@kernel.org>2017-11-15 12:43:16 +0300
committerKishon Vijay Abraham I <kishon@ti.com>2017-12-15 13:30:38 +0300
commit046046737bd35bed047460f080ea47e186be731e (patch)
tree50f2aa9c7d17db2a71ac5d97a3e3499beaef0ef1 /drivers/phy/motorola
parent4fbd8d194f06c8a3fd2af1ce560ddb31f7ec8323 (diff)
downloadlinux-046046737bd35bed047460f080ea47e186be731e.tar.xz
phy: tegra: fix device-tree node lookups
Fix child-node lookups during probe, which ended up searching the whole device tree depth-first starting at the parents rather than just matching on their children. To make things worse, some parent nodes could end up being being prematurely freed (by tegra_xusb_pad_register()) as of_find_node_by_name() drops a reference to its first argument. Fixes: 53d2a715c240 ("phy: Add Tegra XUSB pad controller support") Cc: stable <stable@vger.kernel.org> # 4.7 Cc: Thierry Reding <treding@nvidia.com> Signed-off-by: Johan Hovold <johan@kernel.org> Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>
Diffstat (limited to 'drivers/phy/motorola')
0 files changed, 0 insertions, 0 deletions