diff options
author | Tomi Valkeinen <tomi.valkeinen@nokia.com> | 2010-01-07 06:37:30 -0500 |
---|---|---|
committer | Tomi Valkeinen <tomi.valkeinen@nokia.com> | 2010-01-11 07:45:26 -0500 |
commit | f3a82d11d478a9eb5ff0cfa83796f0ba8149d841 (patch) | |
tree | ce3ef70f4fa77d165909a9c0158b9de3d14b1fc8 /drivers/video | |
parent | 7f000dd4542fcc1a69b429c0af6c6d961d7fb912 (diff) |
OMAP: DSS2: OMAPFB: fix omapfb_free_fbmem()
Fixes bug causing VRFB memory area to be released twice.
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@nokia.com>
Reported-by: Eino-Ville Talvala <talvala@stanford.edu>
Diffstat (limited to 'drivers/video')
-rw-r--r-- | drivers/video/omap2/omapfb/omapfb-main.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/video/omap2/omapfb/omapfb-main.c b/drivers/video/omap2/omapfb/omapfb-main.c index ef299839858a..e61a75c31358 100644 --- a/drivers/video/omap2/omapfb/omapfb-main.c +++ b/drivers/video/omap2/omapfb/omapfb-main.c | |||
@@ -1311,6 +1311,7 @@ static void omapfb_free_fbmem(struct fb_info *fbi) | |||
1311 | if (rg->vrfb.vaddr[0]) { | 1311 | if (rg->vrfb.vaddr[0]) { |
1312 | iounmap(rg->vrfb.vaddr[0]); | 1312 | iounmap(rg->vrfb.vaddr[0]); |
1313 | omap_vrfb_release_ctx(&rg->vrfb); | 1313 | omap_vrfb_release_ctx(&rg->vrfb); |
1314 | rg->vrfb.vaddr[0] = NULL; | ||
1314 | } | 1315 | } |
1315 | } | 1316 | } |
1316 | 1317 | ||