drm/exynos: Read hpd gpio in is_connected callback
authorSean Paul <seanpaul@chromium.org>
Thu, 3 Apr 2014 15:11:03 +0000 (20:41 +0530)
committerInki Dae <daeinki@gmail.com>
Sun, 1 Jun 2014 17:07:07 +0000 (02:07 +0900)
commit5137c8ca4be8cd54c1bc74bc1f163a57c7871b38
treee922f8f6692927dce168c968c4d2d36ee862ff3d
parent47d173ffb2ed4be528940aa10f5e48811aac014b
drm/exynos: Read hpd gpio in is_connected callback

This patch adds a gpio read of hpd during the is_connected
callback. This fixes the case where hdmi is off going into
suspend and the cable is plugged in while suspended. In this
case, the hpd interrupt does not fire and is_connected will
return false.

Signed-off-by: Sean Paul <seanpaul@chromium.org>
Signed-off-by: Rahul Sharma <Rahul.Sharma@samsung.com>
Signed-off-by: Inki Dae <inki.dae@samsung.com>
drivers/gpu/drm/exynos/exynos_hdmi.c