]> git.karo-electronics.de Git - linux-beck.git/commit
OMAPFB: fix overlay disable when freeing resources.
authorTomi Valkeinen <tomi.valkeinen@ti.com>
Thu, 16 Oct 2014 09:17:44 +0000 (12:17 +0300)
committerTomi Valkeinen <tomi.valkeinen@ti.com>
Wed, 22 Oct 2014 08:07:08 +0000 (11:07 +0300)
commit63cec5a22c13a80d80cb38acdb5b555eafb74ddc
tree2bd1590b918ee76e10223a9ac1a9bf365e000a4b
parent22500c19e6dc1a7c897323eff040364289bce0b7
OMAPFB: fix overlay disable when freeing resources.

When omapfb is shutting down, it will disable all the overlays. However,
instead of actually disabling all the overlays, it disables only all the
overlays that are currently attached to framebuffers.

On OMAP4+, this leaves the fourth overlay left enabled.

Fix the loop so that we actually go through all the overlays.

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