diff options
| author | Matthias Brugger <[email protected]> | 2019-06-21 08:32:50 -0300 |
|---|---|---|
| committer | Mauro Carvalho Chehab <[email protected]> | 2019-08-13 11:42:45 -0300 |
| commit | 864919ea0380e62adb2503b89825fe358acb8216 (patch) | |
| tree | 1431a469e725ee26ba92c5c962da240590b52bb0 /tools/perf/scripts/python/bin/stackcollapse-report | |
| parent | b557b5073194d63bcd2850c009f9326250b4bd97 (diff) | |
media: mtk-mdp: fix reference count on old device tree
of_get_next_child() increments the reference count of the returning
device_node. Decrement it in the check if we are using the old or the
new DTB.
Fixes: ba1f1f70c2c0 ("[media] media: mtk-mdp: Fix mdp device tree")
Signed-off-by: Matthias Brugger <[email protected]>
Acked-by: Houlong Wei <[email protected]>
[[email protected]: use node instead of parent as temp variable]
Signed-off-by: Hans Verkuil <[email protected]>
Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-report')
0 files changed, 0 insertions, 0 deletions