]> git.baikalelectronics.ru Git - kernel.git/commit
OMAPDSS: move 'dss_initialized' to dss driver
authorTomi Valkeinen <tomi.valkeinen@ti.com>
Thu, 4 Jun 2015 09:35:42 +0000 (12:35 +0300)
committerTomi Valkeinen <tomi.valkeinen@ti.com>
Wed, 17 Jun 2015 10:44:20 +0000 (13:44 +0300)
commitc60822758c164969243d6bf4203799c2af81735f
treeacb7767190a508fb4b2158a6c7aa3d4bbdec0905
parent0afb5eefb4ecea4b42269b2698a33a7b99f5324e
OMAPDSS: move 'dss_initialized' to dss driver

We have a flag, 'dss_initialized', which tells omapfb and omapdrm if
omapdss is available. At the moment it can be set even if the dss
submodules are not all ready, in case something gets deferred.

Move the flag to dss_core driver so that it'll signal the availability
of the dss drivers move accurately.

For now, it'll signal that dss_core is ready, which is not quite correct
but still better than previously.  The following patches will add
component system to omapdss, and after those patches 'dss_initialized'
will signal that all the submodules are ready.

Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
Acked-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
drivers/video/fbdev/omap2/dss/core.c
drivers/video/fbdev/omap2/dss/dss.c