]> git.openfabrics.org - ~emulex/infiniband.git/commit
OMAPDSS: DSI: Replace dssdev->manager with dssdev->output->manager references
authorArchit Taneja <archit@ti.com>
Tue, 4 Sep 2012 06:12:36 +0000 (11:42 +0530)
committerTomi Valkeinen <tomi.valkeinen@ti.com>
Wed, 26 Sep 2012 11:58:34 +0000 (14:58 +0300)
commiteea8340a1da581249a14bc03260af65edf4ededa
treeee385814cf458fabf0be94c974a790dc45217475
parent400e65d1c9946c9bf4d87a94d71f7d7423d03b62
OMAPDSS: DSI: Replace dssdev->manager with dssdev->output->manager references

With addition of output entities, a device connects to an output, and an output
connects to overlay manager. Replace the dssdev->manager references with
dssdev->output->manager to access the manager correctly.

When enabling the DSI output, check whether the output entity connected to
display is not NULL.

In dsi_init_display(), the display won't be connected to the DSI output yet,
that happens later in dss_recheck_connections() in the panel driver's probe. Get
the dsidev platform device pointer using the DSI moudle number provided in the
omap_dss_device struct.

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