OpenCloudOS-Kernel/drivers/phy/tegra
Johan Hovold 046046737b 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: 53d2a715c2 ("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>
2017-12-15 16:00:38 +05:30
..
Kconfig
Makefile
xusb-tegra124.c phy: fix returnvar.cocci warnings 2016-11-18 18:19:16 +05:30
xusb-tegra210.c
xusb.c phy: tegra: fix device-tree node lookups 2017-12-15 16:00:38 +05:30
xusb.h