summaryrefslogtreecommitdiffstats
path: root/meta/recipes-kernel/linux/linux-omap-2.6.29/dss2/0010-DSS2-Small-VRFB-context-allocation-bug-fixed.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-kernel/linux/linux-omap-2.6.29/dss2/0010-DSS2-Small-VRFB-context-allocation-bug-fixed.patch')
-rw-r--r--meta/recipes-kernel/linux/linux-omap-2.6.29/dss2/0010-DSS2-Small-VRFB-context-allocation-bug-fixed.patch28
1 files changed, 28 insertions, 0 deletions
diff --git a/meta/recipes-kernel/linux/linux-omap-2.6.29/dss2/0010-DSS2-Small-VRFB-context-allocation-bug-fixed.patch b/meta/recipes-kernel/linux/linux-omap-2.6.29/dss2/0010-DSS2-Small-VRFB-context-allocation-bug-fixed.patch
new file mode 100644
index 0000000000..c7efc58a05
--- /dev/null
+++ b/meta/recipes-kernel/linux/linux-omap-2.6.29/dss2/0010-DSS2-Small-VRFB-context-allocation-bug-fixed.patch
@@ -0,0 +1,28 @@
1From 370510e24ddbf539392ebb6a1e43280965fcb19b Mon Sep 17 00:00:00 2001
2From: Vaibhav Hiremath <hvaibhav@ti.com>
3Date: Tue, 31 Mar 2009 18:47:32 +0530
4Subject: [PATCH] DSS2: Small VRFB context allocation bug fixed
5
6This is minor bug while requesting and mapping memory for
7VRFB space.
8
9Signed-off-by: Vaibhav Hiremath <hvaibhav@ti.com>
10---
11 drivers/video/omap2/omapfb/omapfb-main.c | 1 +
12 1 files changed, 1 insertions(+), 0 deletions(-)
13
14diff --git a/drivers/video/omap2/omapfb/omapfb-main.c b/drivers/video/omap2/omapfb/omapfb-main.c
15index 852abe5..44febef 100644
16--- a/drivers/video/omap2/omapfb/omapfb-main.c
17+++ b/drivers/video/omap2/omapfb/omapfb-main.c
18@@ -1193,6 +1193,7 @@ static int omapfb_alloc_fbmem(struct fb_info *fbi, unsigned long size,
19
20 if(!va) {
21 printk(KERN_ERR "vrfb: ioremap failed\n");
22+ omap_vrfb_release_ctx(&rg->vrfb);
23 return -ENOMEM;
24 }
25
26--
271.5.6.5
28