Message ID | 1379844109-10513-1-git-send-email-lars@metafoo.de (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
On 22/09/13 13:01, Lars-Peter Clausen wrote: > 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> > --- > drivers/video/jz4740_fb.c | 6 +++--- > 1 file changed, 3 insertions(+), 3 deletions(-) > > diff --git a/drivers/video/jz4740_fb.c b/drivers/video/jz4740_fb.c > index 2c49112..23aa475 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 > > Thanks, queuing this and the second patch for 3.13. Tomi
diff --git a/drivers/video/jz4740_fb.c b/drivers/video/jz4740_fb.c index 2c49112..23aa475 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