OMAP: DSS2: HDMI: make set_timing saner
authorTomi Valkeinen <tomi.valkeinen@ti.com>
Mon, 22 Aug 2011 11:57:33 +0000 (14:57 +0300)
committerTomi Valkeinen <tomi.valkeinen@ti.com>
Fri, 30 Sep 2011 13:16:44 +0000 (16:16 +0300)
commitfa70dc5f472ddc261ad429f2c12eb7ac31c90b87
tree0130a9f679c9d46db2f308a9369f2968c2935e9d
parentdf4769c9c4effa0960ead8d83522407f66e4a82a
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>
drivers/video/omap2/dss/hdmi.c
drivers/video/omap2/dss/hdmi_panel.c