drm/exynos/fb: free exynos framebuffer on error
authorAndrzej Hajda <a.hajda@samsung.com>
Tue, 9 Sep 2014 13:16:08 +0000 (15:16 +0200)
committerInki Dae <daeinki@gmail.com>
Fri, 19 Sep 2014 15:56:14 +0000 (00:56 +0900)
commit849b43187a71bfecf37ffbcf2f88a69062240933
treecff7e7fb654e11e658d8ac278687d503c17a1769
parent78ef31e20452ddb1c101efae6147b910c5f454f5
drm/exynos/fb: free exynos framebuffer on error

In case drm_framebuffer_init fails exynos_fb should be freed
before returning an error.

Signed-off-by: Andrzej Hajda <a.hajda@samsung.com>
Signed-off-by: Inki Dae <inki.dae@samsung.com>
drivers/gpu/drm/exynos/exynos_drm_fb.c