]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitbb2c826adc10e51b443928c96a3690401e64ba55
treebb93f2c888e88cb7ddd6952a94a39b47b09e518b
parentb76998ea8e44b04512336cf29ceffb981cb6acb7
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