]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit
OMAPDSS: APPLY: Remove omap_dss_device references in wait_for_go functions
authorArchit Taneja <archit@ti.com>
Tue, 26 Jun 2012 10:06:55 +0000 (15:36 +0530)
committerArchit Taneja <archit@ti.com>
Wed, 26 Sep 2012 10:59:09 +0000 (16:29 +0530)
commitfc22a84339d387203cc2a1685fb251a5ad4c9b43
tree5332ebab8a0d9f31fecda1bb8da9204da4c43644
parent9e7e9372225a5d70256beb13fbf3b077a437e5be
OMAPDSS: APPLY: Remove omap_dss_device references in wait_for_go functions

The functions dss_mgr_wait_for_go() and dss_mgr_wait_for_go_ovl() check if there
is an enabled display connected to the manager before trying to see the state of
the GO bit.

The checks related to the display can be replaced by checking the state of the
manager, i.e, whether the manager is enabled or not. This makes more sense than
checking with the connected display as the GO bit behaviour is more connected
with the manager state rather than the display state. A GO bit can only be set
if the manager is enabled. If a manager isn't enabled, we can safely assume that
the GO bit is not set.

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