From: Lars-Peter Clausen Date: Sun, 22 Sep 2013 10:01:48 +0000 (+0200) Subject: video: jz4740-fb: Fix LCD_CMD bit definitions X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=8a519c437a1cfd06a5302d4c5b5c9d2df9447609;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git video: jz4740-fb: Fix LCD_CMD bit definitions Fix the bit offsets for the LCD_CMD definitions. Signed-off-by: Paul Cercueil Signed-off-by: Lars-Peter Clausen Signed-off-by: Tomi Valkeinen --- 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