Skip to content
/ linux Public
forked from torvalds/linux

Commit

Permalink
OMAP: DSS2: OMAPFB: fix omapfb_free_fbmem()
Browse files Browse the repository at this point in the history
Fixes bug causing VRFB memory area to be released twice.

Signed-off-by: Tomi Valkeinen <[email protected]>
Reported-by: Eino-Ville Talvala <[email protected]>
  • Loading branch information
Tomi Valkeinen committed Jan 11, 2010
1 parent 7f000dd commit f3a82d1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions drivers/video/omap2/omapfb/omapfb-main.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
}

Expand Down

0 comments on commit f3a82d1

Please sign in to comment.