]> git.karo-electronics.de Git - linux-beck.git/commit
OMAPDSS: remove omap_dss_start/stop_device()
authorTomi Valkeinen <tomi.valkeinen@ti.com>
Thu, 25 Apr 2013 10:12:07 +0000 (13:12 +0300)
committerTomi Valkeinen <tomi.valkeinen@ti.com>
Mon, 17 Jun 2013 11:00:51 +0000 (14:00 +0300)
commitd3923933930273a2c1f724c50fe1dd829e196b31
tree6aaadb4635ff6622ddf1a6e44f5fdc30c151ec0c
parentecc8b370898660613e846667f9c1e8a94f8d4aaa
OMAPDSS: remove omap_dss_start/stop_device()

The omap_dss_start_device() and omap_dss_stop_device(), called by the
DSS output drivers, are old relics. They originally did something
totally else, but nowadays they increase the module ref count for panels
that are enabled.

This model is quite broken: the panel modules may be used even before
they are enabled. For example, configuring the panel requires calls to
functions located in the panel modules.

In the following patches we try to improve the ref count management for
the modules and display devices. The first step, however, is to remove
the omap_dss_start/stop_device() totally.

Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
drivers/video/omap2/dss/display.c
drivers/video/omap2/dss/dpi.c
drivers/video/omap2/dss/dsi.c
drivers/video/omap2/dss/hdmi.c
drivers/video/omap2/dss/rfbi.c
drivers/video/omap2/dss/sdi.c
drivers/video/omap2/dss/venc.c
include/video/omapdss.h