From: Steve Sakoman Date: Tue, 13 May 2008 04:03:50 +0000 (-0700) Subject: OMAP3 EVM: Fix pixel_clock picoseconds/kHz error X-Git-Tag: v2.6.26-omap1~123^2~106 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=cdf2e72d120a9ff35b1737325f7ca5c5a8e02f16;p=linux-2.6-omap-h63xx.git OMAP3 EVM: Fix pixel_clock picoseconds/kHz error Fix pixel_clock picoseconds/kHz error in LCD config, eliminate unused #define Signed-off-by: Steve Sakoman Signed-off-by: Tony Lindgren --- diff --git a/drivers/video/omap/lcd_omap3evm.c b/drivers/video/omap/lcd_omap3evm.c index 04e40b6459b..5d2ed04150c 100644 --- a/drivers/video/omap/lcd_omap3evm.c +++ b/drivers/video/omap/lcd_omap3evm.c @@ -38,8 +38,7 @@ #define LCD_XRES 480 #define LCD_YRES 640 -#define LCD_PIXCLOCK_MAX 41700 /* in pico seconds */ -#define LCD_PIXCLOCK_MIN 38000 /* in pico seconds */ +#define LCD_PIXCLOCK 26000 /* in kHz */ #define ENABLE_VDAC_DEDICATED 0x03 #define ENABLE_VDAC_DEV_GRP 0x20 @@ -111,7 +110,7 @@ struct lcd_panel omap3evm_panel = { .vfp = 2, /* lower_margin */ .vbp = 7, /* upper_margin (8) - 1 */ - .pixel_clock = LCD_PIXCLOCK_MAX, + .pixel_clock = LCD_PIXCLOCK, .init = omap3evm_panel_init, .cleanup = omap3evm_panel_cleanup,