]> git.baikalelectronics.ru Git - kernel.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)
commit965a9654dae79204897e196d758a1bc466d1559e
treeee385814cf458fabf0be94c974a790dc45217475
parent3eb7258bb1b8e220fd587a18be2ac57c1ce3d714
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