summaryrefslogtreecommitdiff
path: root/arch/x86/lib/insn.c
diff options
context:
space:
mode:
authorDouglas Anderson <dianders@chromium.org>2016-03-07 14:00:52 -0800
committerMark Yao <mark.yao@rock-chips.com>2016-03-28 14:48:32 +0800
commit328b51c0f5a07f3ee891ff012eb7f454be9d17c0 (patch)
treee80c90ed0aa607fb16da161091eab81f3a78e9be /arch/x86/lib/insn.c
parent948cf42700b15fc65ec4cc3ac52a8bbeb84b87ef (diff)
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 'arch/x86/lib/insn.c')
0 files changed, 0 insertions, 0 deletions