asoc: exynos: hdmi-audio use platform data for hpd gpio information
authorRahul Sharma <rahul.sharma@samsung.com>
Sun, 14 Oct 2012 02:10:23 +0000 (07:40 +0530)
committerGerrit <chrome-bot@google.com>
Mon, 15 Oct 2012 16:34:13 +0000 (09:34 -0700)
commitac1ef599fcb32dde834a5f4371da32f3bb7c4c6b
tree670d171a23263e40b6783f42dfd0457705dbd2ae
parent5911d0cd265c9a6a0fc0266870f0e627546ca7b1
asoc: exynos: hdmi-audio use platform data for hpd gpio information

With this patch, hdmi-audio driver gets the gpio pin number from
platform data instead of getting from device tree. Due to that
of_get_named_gpio_flags was resetting the pin function to hpd
instead of external interrupt. This breaks the hotplug detection.

BUG=chrome-os-partner:15274
TEST=1) Boot with/without hdmi plugged.
2) S2R scenarios.
3) Audio playback with hpd scenarios.

Change-Id: I592942347040003cfe550f97436dacc5aa73a95f
Signed-off-by: Rahul Sharma <rahul.sharma@samsung.com>
Reviewed-on: https://gerrit.chromium.org/gerrit/35514
Commit-Ready: Doug Anderson <dianders@chromium.org>
Reviewed-by: Doug Anderson <dianders@chromium.org>
sound/soc/samsung/hdmi_audio.c