drm/exynos: Debounce gpio hotplug interrupts
authorSean Paul <seanpaul@chromium.org>
Fri, 26 Apr 2013 20:06:43 +0000 (16:06 -0400)
committerChromeBot <chrome-bot@google.com>
Mon, 6 May 2013 19:30:04 +0000 (12:30 -0700)
commit7ecb1cc1462ef33a4cbfd62e14ebc6efc18635f6
treeba39f23b51f5562627b209f327ff4e75d5b0895e
parent28b837d445453c19ba00c3bcc06b0aaac25d8c6d
drm/exynos: Debounce gpio hotplug interrupts

Debounce the gpio (external) hotplug interrupts. This patch debounces
hotplug interrupts generated while the HDMI block is off. The reason
this is needed is that we get multiple (5) interrupts every time a
monitor is inserted which causes us to needlessly enable and disable the
IP block.

BUG=chromium:220033
TEST=Tested using an HDMI analyzer. Many hotplugs without any 20s freeze

Change-Id: I9c5d61364790f4110fc758a93fabac48b646b3fa
Signed-off-by: Sean Paul <seanpaul@chromium.org>
Reviewed-on: https://gerrit.chromium.org/gerrit/49349
Reviewed-by: Stéphane Marchesin <marcheu@chromium.org>
drivers/gpu/drm/exynos/exynos_hdmi.c