summaryrefslogtreecommitdiff
path: root/meta/packages/linux/linux-omap-2.6.29/dss2/0010-DSS2-Small-VRFB-context-allocation-bug-fixed.patch
diff options
context:
space:
mode:
authorRichard Purdie <richard@ted.(none)>2009-04-28 17:13:57 +0100
committerRichard Purdie <richard@ted.(none)>2009-04-28 17:13:57 +0100
commit6a6f5cc8206f35dba044f59ae59ed878c2f8fb94 (patch)
treed325b4fe4696551589573a1b43c19e82cc0cd0d1 /meta/packages/linux/linux-omap-2.6.29/dss2/0010-DSS2-Small-VRFB-context-allocation-bug-fixed.patch
parenta8e1e028f85b4d6f37238b9cbb0bab19b5939b29 (diff)
parent0adc74b06210f1be01145a5977a36b83aca0aa68 (diff)
downloadopenembedded-core-6a6f5cc8206f35dba044f59ae59ed878c2f8fb94.tar.gz
openembedded-core-6a6f5cc8206f35dba044f59ae59ed878c2f8fb94.tar.bz2
openembedded-core-6a6f5cc8206f35dba044f59ae59ed878c2f8fb94.tar.xz
openembedded-core-6a6f5cc8206f35dba044f59ae59ed878c2f8fb94.zip
Merge branch 'marcin/trunk' of git://git.pokylinux.org/poky-contrib
Diffstat (limited to 'meta/packages/linux/linux-omap-2.6.29/dss2/0010-DSS2-Small-VRFB-context-allocation-bug-fixed.patch')
-rw-r--r--meta/packages/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/packages/linux/linux-omap-2.6.29/dss2/0010-DSS2-Small-VRFB-context-allocation-bug-fixed.patch b/meta/packages/linux/linux-omap-2.6.29/dss2/0010-DSS2-Small-VRFB-context-allocation-bug-fixed.patch
new file mode 100644
index 000000000..c7efc58a0
--- /dev/null
+++ b/meta/packages/linux/linux-omap-2.6.29/dss2/0010-DSS2-Small-VRFB-context-allocation-bug-fixed.patch
@@ -0,0 +1,28 @@
+From 370510e24ddbf539392ebb6a1e43280965fcb19b Mon Sep 17 00:00:00 2001
+From: Vaibhav Hiremath <hvaibhav@ti.com>
+Date: Tue, 31 Mar 2009 18:47:32 +0530
+Subject: [PATCH] DSS2: Small VRFB context allocation bug fixed
+
+This is minor bug while requesting and mapping memory for
+VRFB space.
+
+Signed-off-by: Vaibhav Hiremath <hvaibhav@ti.com>
+---
+ 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 852abe5..44febef 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;
+ }
+
+--
+1.5.6.5
+