From: Vaibhav Hiremath Date: Tue, 31 Mar 2009 13:17:32 +0000 (+0530) Subject: DSS2: Small VRFB context allocation bug fixed X-Git-Tag: Release-2010-05/1~2^2~132 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?p=pandora-kernel.git;a=commitdiff_plain;h=a25bdd62893909b21fd6415d76b0fa21755d5001 DSS2: Small VRFB context allocation bug fixed This is minor bug while requesting and mapping memory for VRFB space. Signed-off-by: Vaibhav Hiremath --- diff --git a/drivers/video/omap2/omapfb/omapfb-main.c b/drivers/video/omap2/omapfb/omapfb-main.c index 852abe5d0419..44febef3481c 100644 --- a/drivers/video/omap2/omapfb/omapfb-main.c +++ b/drivers/video/omap2/omapfb/omapfb-main.c @@ -1193,6 +1193,7 @@ static int omapfb_alloc_fbmem(struct fb_info *fbi, unsigned long size, if(!va) { printk(KERN_ERR "vrfb: ioremap failed\n"); + omap_vrfb_release_ctx(&rg->vrfb); return -ENOMEM; }