drm/msm/atomic: Clean up planes in the error paths of .atomic_commit()
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>
Wed, 27 May 2015 11:39:46 +0000 (14:39 +0300)
committerRob Clark <robdclark@gmail.com>
Thu, 11 Jun 2015 17:11:05 +0000 (13:11 -0400)
commitf65c18c050b8386dbeec26e965bc018bb808cc88
treeca9680ffffd58baeee615dd79ad0ad63a20351ea
parent1efb92a306f08119c81de148b05afc24446b8d7a
drm/msm/atomic: Clean up planes in the error paths of .atomic_commit()

When the .atomic_commit() handler fails, clean up planes previoulsy
prepared by drm_atomic_helper_prepare_planes() with a call to
drm_atomic_helper_cleanup_planes().

Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Rob Clark <robdclark@gmail.com>
drivers/gpu/drm/msm/msm_atomic.c