]> git.baikalelectronics.ru Git - kernel.git/commit
drm: arm: hdlcd: Don't destroy plane manually in hdlcd_setup_crtc()
authorLaurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Wed, 17 Jan 2018 21:55:27 +0000 (23:55 +0200)
committerLiviu Dudau <Liviu.Dudau@arm.com>
Tue, 31 Jul 2018 15:31:50 +0000 (16:31 +0100)
commit699c68a363ad5d3dd39dd8b98ec94b4b0b41e192
tree795415527b0f78b2353827329343b0ca9c06a124
parent901f0e96b4dad2f4b43da45af514e46c57e91236
drm: arm: hdlcd: Don't destroy plane manually in hdlcd_setup_crtc()

The top-level error handler calls drm_mode_config_cleanup() which will
destroy all planes. There's no need to destroy them manually in lower
error handlers.

Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Signed-off-by: Liviu Dudau <liviu.dudau@arm.com>
drivers/gpu/drm/arm/hdlcd_crtc.c