drm/exynos: add error check routine in exynos_drm_open
authorYoungJun Cho <yj44.cho@samsung.com>
Mon, 1 Jul 2013 08:00:47 +0000 (17:00 +0900)
committerInki Dae <inki.dae@samsung.com>
Thu, 4 Jul 2013 06:55:36 +0000 (15:55 +0900)
commitba3706c0f19ab77593b8b3be6649746ac56905d3
tree865635af6062a9f8335ef19c1e4e85b365bc3da6
parent782953ece3d102ccb31df87ecfeeb96064126afb
drm/exynos: add error check routine in exynos_drm_open

When the exynos_drm_subdrv_open() returns error, the file_priv
should be released and file->driver_priv set to NULL.

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