omap3-pandora-kernel: Set higher functional clock constraint
[openpandora.oe.git] / recipes / linux / omap3-pandora-kernel / 0001-Removed-resolution-check-that-prevents-scaling-when.patch
1 From 3227bd5c412e7eb0d4370b2834e71723f6b4be48 Mon Sep 17 00:00:00 2001
2 From: Tuomas Kulve <tuomas.kulve@movial.fi>
3 Date: Mon, 27 Oct 2008 18:55:59 +0200
4 Subject: [PATCH] Removed resolution check that prevents scaling when output resolution doesn't match the original resolution.
5
6 ---
7  drivers/video/omap/dispc.c |    3 ---
8  1 files changed, 0 insertions(+), 3 deletions(-)
9
10 diff --git a/drivers/video/omap/dispc.c b/drivers/video/omap/dispc.c
11 index 0f0b2e5..1df0c1e 100644
12 --- a/drivers/video/omap/dispc.c
13 +++ b/drivers/video/omap/dispc.c
14 @@ -579,9 +579,6 @@ static int omap_dispc_set_scale(int plane,
15         if ((unsigned)plane > OMAPFB_PLANE_NUM)
16                 return -ENODEV;
17  
18 -       if (out_width != orig_width || out_height != orig_height)
19 -               return -EINVAL;
20 -
21         enable_lcd_clocks(1);
22         if (orig_width < out_width) {
23                 /*
24 -- 
25 1.5.6.5
26