diff options
author | Tomi Valkeinen <tomi.valkeinen@ti.com> | 2011-08-22 13:57:33 +0200 |
---|---|---|
committer | Tomi Valkeinen <tomi.valkeinen@ti.com> | 2011-09-30 15:16:44 +0200 |
commit | fa70dc5f472ddc261ad429f2c12eb7ac31c90b87 (patch) | |
tree | 0130a9f679c9d46db2f308a9369f2968c2935e9d /drivers/video/omap2/dss/hdmi_panel.c | |
parent | OMAP: DSS2: add detect() to omap_dss_driver struct (diff) | |
download | linux-fa70dc5f472ddc261ad429f2c12eb7ac31c90b87.tar.xz linux-fa70dc5f472ddc261ad429f2c12eb7ac31c90b87.zip |
OMAP: DSS2: HDMI: make set_timing saner
Currently the set_timings code for hdmi is quite strange. The display is
disabled in hdmi_omap4_panel.c before setting timings, and enabled in
hdmi.c after setting the timings. Furthermore, the timings were not
permanent, and disabling and enabling the display would lose them.
This patch makes the set_timings handling a bit better.
Cc: Mythri P K <mythripk@ti.com>
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
Diffstat (limited to '')
-rw-r--r-- | drivers/video/omap2/dss/hdmi_panel.c | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/drivers/video/omap2/dss/hdmi_panel.c b/drivers/video/omap2/dss/hdmi_panel.c index e30182f5fecf..8c851e624ee6 100644 --- a/drivers/video/omap2/dss/hdmi_panel.c +++ b/drivers/video/omap2/dss/hdmi_panel.c @@ -161,12 +161,7 @@ static void hdmi_set_timings(struct omap_dss_device *dssdev, mutex_lock(&hdmi.hdmi_lock); dssdev->panel.timings = *timings; - - if (dssdev->state == OMAP_DSS_DISPLAY_ACTIVE) { - /* turn the hdmi off and on to get new timings to use */ - omapdss_hdmi_display_disable(dssdev); - omapdss_hdmi_display_set_timing(dssdev); - } + omapdss_hdmi_display_set_timing(dssdev); mutex_unlock(&hdmi.hdmi_lock); } |