diff options
author | Lars-Peter Clausen <lars@metafoo.de> | 2013-09-22 12:01:48 +0200 |
---|---|---|
committer | Tomi Valkeinen <tomi.valkeinen@ti.com> | 2013-09-26 13:23:53 +0300 |
commit | 8a519c437a1cfd06a5302d4c5b5c9d2df9447609 (patch) | |
tree | b5ce2849aa6b1f492b30f1409d0ef2ae2019201d /drivers/video/jz4740_fb.c | |
parent | 224b93c5b12a8221e3718101ca730f3d4da6286f (diff) | |
download | linux-8a519c437a1cfd06a5302d4c5b5c9d2df9447609.tar.gz linux-8a519c437a1cfd06a5302d4c5b5c9d2df9447609.tar.bz2 linux-8a519c437a1cfd06a5302d4c5b5c9d2df9447609.zip |
video: jz4740-fb: Fix LCD_CMD bit definitions
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>
Diffstat (limited to 'drivers/video/jz4740_fb.c')
-rw-r--r-- | drivers/video/jz4740_fb.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/video/jz4740_fb.c b/drivers/video/jz4740_fb.c index 2c49112fdd6c..23aa47504709 100644 --- a/drivers/video/jz4740_fb.c +++ b/drivers/video/jz4740_fb.c @@ -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 |