]> git.baikalelectronics.ru Git - kernel.git/commit
drm/omap: remove extra plane->destroy from crtc destroy
authorTomi Valkeinen <tomi.valkeinen@ti.com>
Wed, 9 Apr 2014 11:51:01 +0000 (14:51 +0300)
committerTomi Valkeinen <tomi.valkeinen@ti.com>
Tue, 15 Apr 2014 10:35:27 +0000 (13:35 +0300)
commit17a2e9cb8eb9563b202c2a9d934457fac7a869d4
treea16a7c0b07ffb825bb2a018265657dc0575db1ea
parent60216977e927822cb112437c64372b9f8bfdca40
drm/omap: remove extra plane->destroy from crtc destroy

All the planes, including primary planes, are now destroyed by the drm
framework. Thus we no longer need the explicit call to plane->destroy
from the crtc's destroy function.

This patch removes the call, thus fixing the crash caused by double
freeing the plane.

remove omap_crtc->plane->funcs->destroy(omap_crtc->plane)

Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
drivers/gpu/drm/omapdrm/omap_crtc.c