drm/exynos: release resources properly when fb creation is failed.
authorYoungJun Cho <yj44.cho@samsung.com>
Tue, 12 Feb 2013 12:23:54 +0000 (21:23 +0900)
committerInki Dae <inki.dae@samsung.com>
Thu, 21 Feb 2013 06:00:26 +0000 (15:00 +0900)
commit979c0c7eb0fb969f0621c7017a6a87e6a0e36a4c
tree6a59898b626301eee3b25a608082163f6a998299
parent5af9f116e6a0e1de675da979a19f95a74ce2aa2e
drm/exynos: release resources properly when fb creation is failed.

This patch releases allocated resources properly when
exynos_user_fb_create() is failed.

Signed-off-by: YoungJun Cho <yj44.cho@samsung.com>
Signed-off-by: Inki Dae <inki.dae@samsung.com>
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
drivers/gpu/drm/exynos/exynos_drm_fb.c