OSDN Git Service

drm/exynos: fix NULL pointer reference
authorJoonyoung Shim <jy0922.shim@samsung.com>
Thu, 5 Feb 2015 07:11:38 +0000 (16:11 +0900)
committerInki Dae <inki.dae@samsung.com>
Mon, 9 Feb 2015 14:56:36 +0000 (23:56 +0900)
commit936ce5cce66ce6f9b5138a1ac0fbf0c2d459a960
treee4605fdc51c734ffe721f38842b84d495090aa93
parentd9ea62566dbda7afb63c790057f3243f51abf771
drm/exynos: fix NULL pointer reference

There is a case called disable_plane callback function even if
plane->crtc is NULL from exynos_drm_encoder_disable and it will cause
NULL pointer reference error.

Signed-off-by: Joonyoung Shim <jy0922.shim@samsung.com>
Signed-off-by: Inki Dae <inki.dae@samsung.com>
drivers/gpu/drm/exynos/exynos_drm_encoder.c