[media] v4l: vsp1: Fix VI6_DISP_IRQ_ENB_LNEE macro
authorNobuhiro Iwamatsu <nobuhiro.iwamatsu.yj@renesas.com>
Wed, 7 Jan 2015 07:37:53 +0000 (04:37 -0300)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Tue, 27 Jan 2015 12:37:06 +0000 (10:37 -0200)
LNEE bit in VI6_DISP_IRQ_ENB register are from the 0 bit to 4 bit.
This fixes bit position specified by VI6_DISP_IRQ_ENB_LNEE.

Signed-off-by: Nobuhiro Iwamatsu <nobuhiro.iwamatsu.yj@renesas.com>
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
drivers/media/platform/vsp1/vsp1_regs.h

index 55f163d32d154cde33fab7995457ad4940cca85d..79d4063d798f7ca91890a45b6bd2bd792d26bd1f 100644 (file)
@@ -43,7 +43,7 @@
 #define VI6_DISP_IRQ_ENB               0x0078
 #define VI6_DISP_IRQ_ENB_DSTE          (1 << 8)
 #define VI6_DISP_IRQ_ENB_MAEE          (1 << 5)
-#define VI6_DISP_IRQ_ENB_LNEE(n)       (1 << ((n) + 4))
+#define VI6_DISP_IRQ_ENB_LNEE(n)       (1 << (n))
 
 #define VI6_DISP_IRQ_STA               0x007c
 #define VI6_DISP_IRQ_STA_DSE           (1 << 8)