]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commitdiff
OMAP3 EVM: Fix pixel_clock picoseconds/kHz error
authorSteve Sakoman <steve@sakoman.com>
Tue, 13 May 2008 04:03:50 +0000 (21:03 -0700)
committerTony Lindgren <tony@atomide.com>
Wed, 14 May 2008 23:05:20 +0000 (16:05 -0700)
Fix pixel_clock picoseconds/kHz error in LCD config, eliminate unused #define

Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
drivers/video/omap/lcd_omap3evm.c

index 04e40b6459b5e85f46a7b6cc88fc0114d0f547b6..5d2ed04150c69a55979873c0aa4e2b72c81d1f15 100644 (file)
@@ -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,