[PATCH 1/1] OMAP3 EVM: Fix pixel_clock picoseconds/kHz error

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: Steve Sakoman <steve@xxxxxxxxxxx>

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

Signed-off-by: Steve Sakoman <steve@xxxxxxxxxxx>

---
 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
--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Arm (vger)]     [ARM Kernel]     [ARM MSM]     [Linux Tegra]     [Linux WPAN Networking]     [Linux Wireless Networking]     [Maemo Users]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Trails]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux