diff options
author | Douglas Anderson <dianders@chromium.org> | 2016-03-08 01:00:52 +0300 |
---|---|---|
committer | Mark Yao <mark.yao@rock-chips.com> | 2016-03-28 09:48:32 +0300 |
commit | 328b51c0f5a07f3ee891ff012eb7f454be9d17c0 (patch) | |
tree | e80c90ed0aa607fb16da161091eab81f3a78e9be /tools/perf/scripts/python/stackcollapse.py | |
parent | 948cf42700b15fc65ec4cc3ac52a8bbeb84b87ef (diff) | |
download | linux-328b51c0f5a07f3ee891ff012eb7f454be9d17c0.tar.xz |
drm/rockchip: vop: Fix vop crtc cleanup
This fixes a few problems in the vop crtc cleanup (handling error
paths and cleanup upon exit):
* The vop_create_crtc() error path had an unsafe version of the
iterator used for iterating over all planes (though it was
destroying planes in the iterator so should have used the safe
version)
* vop_destroy_crtc() - wasn't calling vop_plane_destroy(), which made
slub_debug unhappy, at least if we ended up running this due to a
deferred probe.
* In vop_create_crtc() if we were missing the "port" device tree node
we would fail but not return an error (found by code inspection).
Fix these problems.
Signed-off-by: Douglas Anderson <dianders@chromium.org>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions