drm: sti: correctly cleanup CRTC and planes
authorBenjamin Gaignard <benjamin.gaignard@linaro.org>
Thu, 11 Dec 2014 12:35:29 +0000 (13:35 +0100)
committerBenjamin Gaignard <benjamin.gaignard@linaro.org>
Thu, 11 Dec 2014 13:00:19 +0000 (14:00 +0100)
commitf78e772a2c7aa4e96398de9e3fa0be750c705d3a
tree4164e82ef4e7bc87f21f1b61559de55a47640d68
parent4fdbc678fe4dc18cbf1d97e1b45660f91c3089b4
drm: sti: correctly cleanup CRTC and planes

When bind failed make sure that CRTC and planes are
completely clean up to avoid properties duplication.

Signed-off-by: Benjamin Gaignard <benjamin.gaignard@linaro.org>
drivers/gpu/drm/sti/sti_drm_drv.c