diff options
| author | Johan Hovold <johan@kernel.org> | 2018-01-08 17:20:18 -0800 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2018-01-23 19:50:15 +0100 |
| commit | 47970b4ea09c7dc4bb610825a1e72915abb63aca (patch) | |
| tree | d00b0bbc97be1574e3211abfe0d9754fd18bc128 /tools/perf/scripts/python | |
| parent | 7fd1335392891188b022f5fa518201710d5be3ac (diff) | |
Input: 88pm860x-ts - fix child-node lookup
commit 906bf7daa0618d0ef39f4872ca42218c29a3631f upstream.
Fix child node-lookup during probe, which ended up searching the whole
device tree depth-first starting at parent rather than just matching on
its children.
To make things worse, the parent node was prematurely freed, while the
child node was leaked.
Fixes: 2e57d56747e6 ("mfd: 88pm860x: Device tree support")
Signed-off-by: Johan Hovold <johan@kernel.org>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
