video: jz4740-fb: Fix LCD_CMD bit definitions
authorLars-Peter Clausen <lars@metafoo.de>
Sun, 22 Sep 2013 10:01:48 +0000 (12:01 +0200)
committerTomi Valkeinen <tomi.valkeinen@ti.com>
Thu, 26 Sep 2013 10:23:53 +0000 (13:23 +0300)
Fix the bit offsets for the LCD_CMD definitions.

Signed-off-by: Paul Cercueil <paul@crapouillou.net>
Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
drivers/video/jz4740_fb.c

index 2c49112fdd6c4166bd040c0bbb6a89e0fcc06fec..23aa475047090a12f10568c0682b779438bbf774 100644 (file)
@@ -99,9 +99,9 @@
 #define JZ_LCD_CTRL_BPP_15_16          0x4
 #define JZ_LCD_CTRL_BPP_18_24          0x5
 
-#define JZ_LCD_CMD_SOF_IRQ BIT(15)
-#define JZ_LCD_CMD_EOF_IRQ BIT(16)
-#define JZ_LCD_CMD_ENABLE_PAL BIT(12)
+#define JZ_LCD_CMD_SOF_IRQ BIT(31)
+#define JZ_LCD_CMD_EOF_IRQ BIT(30)
+#define JZ_LCD_CMD_ENABLE_PAL BIT(28)
 
 #define JZ_LCD_SYNC_MASK 0x3ff