]> git.baikalelectronics.ru Git - kernel.git/commit
OMAPDSS: DSI: delay dispc initialization
authorTomi Valkeinen <tomi.valkeinen@ti.com>
Fri, 22 Feb 2013 10:58:35 +0000 (12:58 +0200)
committerTomi Valkeinen <tomi.valkeinen@ti.com>
Wed, 3 Apr 2013 12:19:01 +0000 (15:19 +0300)
commite15ecf70f526d95a3625234fceb502f8093bede2
tree5c807c91f0dec47e650227f4c1c915b22dc43039
parent26cbc87562caec32ab76a1e96f1153b25bd20b43
OMAPDSS: DSI: delay dispc initialization

We currently setup both DSI and DISPC related things when the DSI bus is
enabled. There's no need for DISPC related thing at that point, though,
but only later when the video output is enabled.

To make it possible to use the DSI bus before DISPC overlay manager is
selected, this patch moves DSI's DISPC initialization to
dsi_enable_video_output(), from omapdss_dsi_display_enable(). We also
move the selection of DISPC's LCD clock to dsi_enable_video_output.

This way there are no DISPC dependencies until the video output is
enabled.

Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
Reviewed-by: Archit Taneja <archit@ti.com>
drivers/video/omap2/dss/dsi.c