From cdf2e72d120a9ff35b1737325f7ca5c5a8e02f16 Mon Sep 17 00:00:00 2001 From: Steve Sakoman Date: Mon, 12 May 2008 21:03:50 -0700 Subject: [PATCH] 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 --- drivers/video/omap/lcd_omap3evm.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) 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, -- 2.41.1