aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/linux/linux-omap-pm-2.6.28/0001-Removed-resolution-check-that-prevents-scaling-when.patch
diff options
context:
space:
mode:
authorKoen Kooi <koen@openembedded.org>2009-03-19 11:32:06 +0100
committerKoen Kooi <koen@openembedded.org>2009-03-19 11:32:06 +0100
commitebd561bc14a9a0883ad7c0ef2a6560ec9ae6824a (patch)
tree20eb796ad4af13c056223c9da31ecbf01e7dac79 /recipes/linux/linux-omap-pm-2.6.28/0001-Removed-resolution-check-that-prevents-scaling-when.patch
parent2612236bf6abf8ebd98fac5359f3b1b830404ed5 (diff)
downloadopenembedded-ebd561bc14a9a0883ad7c0ef2a6560ec9ae6824a.tar.gz
linux-omap-pm: add 2.6.28 recipe so git can move to .29rc
Diffstat (limited to 'recipes/linux/linux-omap-pm-2.6.28/0001-Removed-resolution-check-that-prevents-scaling-when.patch')
-rw-r--r--recipes/linux/linux-omap-pm-2.6.28/0001-Removed-resolution-check-that-prevents-scaling-when.patch26
1 files changed, 26 insertions, 0 deletions
diff --git a/recipes/linux/linux-omap-pm-2.6.28/0001-Removed-resolution-check-that-prevents-scaling-when.patch b/recipes/linux/linux-omap-pm-2.6.28/0001-Removed-resolution-check-that-prevents-scaling-when.patch
new file mode 100644
index 0000000000..636203ef32
--- /dev/null
+++ b/recipes/linux/linux-omap-pm-2.6.28/0001-Removed-resolution-check-that-prevents-scaling-when.patch
@@ -0,0 +1,26 @@
+From 3227bd5c412e7eb0d4370b2834e71723f6b4be48 Mon Sep 17 00:00:00 2001
+From: Tuomas Kulve <tuomas.kulve@movial.fi>
+Date: Mon, 27 Oct 2008 18:55:59 +0200
+Subject: [PATCH] Removed resolution check that prevents scaling when output resolution doesn't match the original resolution.
+
+---
+ drivers/video/omap/dispc.c | 3 ---
+ 1 files changed, 0 insertions(+), 3 deletions(-)
+
+diff --git a/drivers/video/omap/dispc.c b/drivers/video/omap/dispc.c
+index 0f0b2e5..1df0c1e 100644
+--- a/drivers/video/omap/dispc.c
++++ b/drivers/video/omap/dispc.c
+@@ -579,9 +579,6 @@ static int omap_dispc_set_scale(int plane,
+ if ((unsigned)plane > OMAPFB_PLANE_NUM)
+ return -ENODEV;
+
+- if (out_width != orig_width || out_height != orig_height)
+- return -EINVAL;
+-
+ enable_lcd_clocks(1);
+ if (orig_width < out_width) {
+ /*
+--
+1.5.6.5
+