diff options
author | Tomasz Stanislawski <t.stanislaws@samsung.com> | 2012-10-04 11:18:47 -0400 |
---|---|---|
committer | Inki Dae <inki.dae@samsung.com> | 2012-10-05 06:14:57 -0400 |
commit | 5295e53d548ba592f54ef03c3444bac56f3d553d (patch) | |
tree | a2b8045209d6e5f4c5a7eb820c4bee9b7eb81b49 /drivers/gpu | |
parent | fca57122c45942b9013a74afeab9bf15b9eba19a (diff) |
drm: exynos: hdmi: turn off HPD interrupt in HDMI chip
The plug/unplug interrupt are handled by a separate interrupt.
So there is no need to replicate this mechanism in HDMI core.
Signed-off-by: Tomasz Stanislawski <t.stanislaws@samsung.com>
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Signed-off-by: Inki Dae <inki.dae@samsung.com>
Diffstat (limited to 'drivers/gpu')
-rw-r--r-- | drivers/gpu/drm/exynos/exynos_hdmi.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/drivers/gpu/drm/exynos/exynos_hdmi.c b/drivers/gpu/drm/exynos/exynos_hdmi.c index 90dce8c45f8d..e3ab840aaff2 100644 --- a/drivers/gpu/drm/exynos/exynos_hdmi.c +++ b/drivers/gpu/drm/exynos/exynos_hdmi.c | |||
@@ -1532,12 +1532,9 @@ static void hdmi_conf_reset(struct hdmi_context *hdata) | |||
1532 | 1532 | ||
1533 | static void hdmi_conf_init(struct hdmi_context *hdata) | 1533 | static void hdmi_conf_init(struct hdmi_context *hdata) |
1534 | { | 1534 | { |
1535 | /* enable HPD interrupts */ | 1535 | /* disable HPD interrupts */ |
1536 | hdmi_reg_writemask(hdata, HDMI_INTC_CON, 0, HDMI_INTC_EN_GLOBAL | | 1536 | hdmi_reg_writemask(hdata, HDMI_INTC_CON, 0, HDMI_INTC_EN_GLOBAL | |
1537 | HDMI_INTC_EN_HPD_PLUG | HDMI_INTC_EN_HPD_UNPLUG); | 1537 | HDMI_INTC_EN_HPD_PLUG | HDMI_INTC_EN_HPD_UNPLUG); |
1538 | mdelay(10); | ||
1539 | hdmi_reg_writemask(hdata, HDMI_INTC_CON, ~0, HDMI_INTC_EN_GLOBAL | | ||
1540 | HDMI_INTC_EN_HPD_PLUG | HDMI_INTC_EN_HPD_UNPLUG); | ||
1541 | 1538 | ||
1542 | /* choose HDMI mode */ | 1539 | /* choose HDMI mode */ |
1543 | hdmi_reg_writemask(hdata, HDMI_MODE_SEL, | 1540 | hdmi_reg_writemask(hdata, HDMI_MODE_SEL, |