]> git.karo-electronics.de Git - linux-beck.git/commit
OMAPFB: fix releasing overlays
authorTomi Valkeinen <tomi.valkeinen@ti.com>
Thu, 16 Oct 2014 09:19:37 +0000 (12:19 +0300)
committerTomi Valkeinen <tomi.valkeinen@ti.com>
Wed, 22 Oct 2014 08:07:08 +0000 (11:07 +0300)
commit13a0c40a49380752d8fbe1ff27009df2b5c71fcf
tree8cf58b22aa68c68648c933de50d75c003fdc3083
parent63cec5a22c13a80d80cb38acdb5b555eafb74ddc
OMAPFB: fix releasing overlays

omapfb disables all the overlays when freeing resources, but it should
also remove those overlays from overlay managers.

Not doing so causes a crash if omapfb is unbound and bound, or omapfb
module is removed and loaded, while keeping omapdss around.

Fix this by calling unset_manager() for all overlays.

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