[PATCH v2 3/5] drm/rockchip: vop: Fix vop crtc cleanup

2016-03-07 Thread Douglas Anderson
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)

[PATCH v2 3/5] drm/rockchip: vop: Fix vop crtc cleanup

2016-03-07 Thread Douglas Anderson
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)