]> git.baikalelectronics.ru Git - kernel.git/commit
drm: omapdrm: gem: Fix GEM object destroy in error path
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>
Mon, 14 Dec 2015 20:39:39 +0000 (22:39 +0200)
committerTomi Valkeinen <tomi.valkeinen@ti.com>
Thu, 31 Dec 2015 09:25:45 +0000 (11:25 +0200)
commit81ca5597c532124ea5fd52204dc6ed2086fe108c
tree56deed4b8343620e2fdfa1974299a0e34471f740
parentf3d38f02de05f899235c779ff70ea589e5f05921
drm: omapdrm: gem: Fix GEM object destroy in error path

Use the omap_gem_free_object() function to destroy the GEM object in the
omap_gem_new_handle() error path instead of doing it manually (and
incorrectly).

Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
drivers/gpu/drm/omapdrm/omap_gem.c