public inbox for linux-omap@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/1] OMAP3 EVM: Fix pixel_clock picoseconds/kHz error
@ 2008-05-13  4:03 Steve Sakoman
  2008-05-14 23:05 ` Tony Lindgren
  0 siblings, 1 reply; 2+ messages in thread
From: Steve Sakoman @ 2008-05-13  4:03 UTC (permalink / raw)
  To: linux-omap@vger.kernel.org

From: Steve Sakoman <steve@sakoman.com>

Fix pixel_clock picoseconds/kHz error in LCD config, eliminate unused #define

Signed-off-by: Steve Sakoman <steve@sakoman.com>

---
 drivers/video/omap/lcd_omap3evm.c |    5 ++---
 1 files changed, 2 insertions(+), 3 deletions(-)

diff --git a/drivers/video/omap/lcd_omap3evm.c
b/drivers/video/omap/lcd_omap3evm.c
index 04e40b6..4e0a64c 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,
-- 
1.5.4.5

^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2008-05-14 23:05 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-05-13  4:03 [PATCH 1/1] OMAP3 EVM: Fix pixel_clock picoseconds/kHz error Steve Sakoman
2008-05-14 23:05 ` Tony Lindgren

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox