drm/exynos: hdmi: add null check for hdmiphy_port
authorSeung-Woo Kim <sw0312.kim@samsung.com>
Mon, 28 Jul 2014 08:15:22 +0000 (17:15 +0900)
committerInki Dae <inki.dae@samsung.com>
Mon, 4 Aug 2014 04:39:27 +0000 (13:39 +0900)
commit9d1e25c9982b97f5f3f2b9c885e823ee58a9fb3d
treebb93f2c888e88cb7ddd6952a94a39b47b09e518b
parentf1e716d8f89b5e4bfde73e50b59694c421173015
drm/exynos: hdmi: add null check for hdmiphy_port

The hdmiphy can be apb and hdmiphy_port can be null. So before
accessing hdmiphy_port, it should be checked.

Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
Signed-off-by: Inki Dae <inki.dae@samsung.com>
drivers/gpu/drm/exynos/exynos_hdmi.c