OMAPDSS: APPLY: skip enable/disable if already enabled/disabled
authorTomi Valkeinen <tomi.valkeinen@ti.com>
Wed, 16 Nov 2011 14:01:33 +0000 (16:01 +0200)
committerTomi Valkeinen <tomi.valkeinen@ti.com>
Fri, 2 Dec 2011 06:54:50 +0000 (08:54 +0200)
commite4f7ad702ef271d2b0c03e9904b05f9bcbf0808b
treed6815985f6c01ac28a550d03a78fe4c6674030aa
parent841c09c7975c67fe7741564d98265de28a5764d0
OMAPDSS: APPLY: skip enable/disable if already enabled/disabled

Add checks to dss_mgr_enable, dss_mgr_disable, dss_ovl_enable,
dss_ovl_disable that check if the state is already the same as given in
the parameters, and exit if so.

Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
drivers/video/omap2/dss/apply.c