]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit86fe56b24e46d5cdd6d1948478dd2acc18d79c62
treee4605fdc51c734ffe721f38842b84d495090aa93
parentfaf617d05b330caf3dcca2c9ead23ac2f03f2d01
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