Commit f3a82d11 authored by Tomi Valkeinen's avatar Tomi Valkeinen

OMAP: DSS2: OMAPFB: fix omapfb_free_fbmem()

Fixes bug causing VRFB memory area to be released twice.
Signed-off-by: default avatarTomi Valkeinen <tomi.valkeinen@nokia.com>
Reported-by: default avatarEino-Ville Talvala <talvala@stanford.edu>
parent 7f000dd4
......@@ -1311,6 +1311,7 @@ static void omapfb_free_fbmem(struct fb_info *fbi)
if (rg->vrfb.vaddr[0]) {
iounmap(rg->vrfb.vaddr[0]);
omap_vrfb_release_ctx(&rg->vrfb);
rg->vrfb.vaddr[0] = NULL;
}
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment