commit 1dc6bd5e39a29453bdcc17348dd2a89f1aa4004e upstream.
Fix child-node lookup during probe, which ended up searching the whole
device tree depth-first starting at the parent rather than just matching
on its children.
To make things worse, the parent pmc node could end up being prematurely
freed as of_find_node_by_name() drops a reference to its first argument.
Fixes:
|
||
---|---|---|
.. | ||
brcmstb | ||
dove | ||
mediatek | ||
qcom | ||
rockchip | ||
sunxi | ||
tegra | ||
ti | ||
versatile | ||
Kconfig | ||
Makefile |