drm/omap: fix missing unref to fb's buf object
authorTomi Valkeinen <tomi.valkeinen@ti.com>
Tue, 8 Apr 2014 12:25:34 +0000 (15:25 +0300)
committerTomi Valkeinen <tomi.valkeinen@ti.com>
Mon, 14 Apr 2014 09:34:37 +0000 (12:34 +0300)
commit5e19c06d0e570a347669acc2b850c2f730090b60
tree3d55002278a915090fb2eac2ae5da9620e829cdc
parentd4586604acbd2e58921e0363533b9797b0235275
drm/omap: fix missing unref to fb's buf object

omap_fbdev_create() takes a reference to the fb's gem object with
omap_gem_get_paddr(). However, it never releases it with
omap_gem_put_paddr().

This patch adds the missing omap_gem_put_paddr() to omap_fbdev_free().

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