]> git.baikalelectronics.ru Git - kernel.git/commit
OMAPDSS: APPLY: Don't check manager settings if it is disabled
authorArchit Taneja <archit@ti.com>
Tue, 8 May 2012 12:49:15 +0000 (18:19 +0530)
committerTomi Valkeinen <tomi.valkeinen@ti.com>
Wed, 9 May 2012 10:44:07 +0000 (13:44 +0300)
commit9ca415823cc7979578401c8c4f67a3e789f324f7
tree2b58d6d31773dfee3c69c755baa07e158ddb540a
parent6fa3d842397ed4c4e2de995207d3989b1fc84832
OMAPDSS: APPLY: Don't check manager settings if it is disabled

If a manager is disabled, there is no guarantee at any point in time that all
it's parameters are configured. There is always a chance that some more
parameters are yet to be configured by a user of DSS, or by DSS itself.

However, when the manager is enabled, we can be certain that all the parameters
have been configured, as we can't enable a manager with an incomplete
configuration. Therefore, if a manager is disabled, don't check for the validity
of it's parameters or the parameters of the overlays connected to it. Only check
once it is enabled. Add a check in dss_check_settings_low() to achieve the same.

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