[media] v4l: vsp1: Fix typo in register field names
authorLaurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Sun, 15 May 2016 21:15:47 +0000 (18:15 -0300)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Tue, 28 Jun 2016 14:57:26 +0000 (11:57 -0300)
The VI6_RPF_ALPH_SEL ALPHA0 and ALPHA1 fields are inverted, swap them.

Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
drivers/media/platform/vsp1/vsp1_regs.h

index 927b5fb94c486435c6d7a012293a0a232bc64958..7657545a75edf0477e0a6a03cd44fe42b29f3686 100644 (file)
 #define VI6_RPF_ALPH_SEL_AEXT_EXT      (1 << 18)
 #define VI6_RPF_ALPH_SEL_AEXT_ONE      (2 << 18)
 #define VI6_RPF_ALPH_SEL_AEXT_MASK     (3 << 18)
-#define VI6_RPF_ALPH_SEL_ALPHA0_MASK   (0xff << 8)
-#define VI6_RPF_ALPH_SEL_ALPHA0_SHIFT  8
-#define VI6_RPF_ALPH_SEL_ALPHA1_MASK   (0xff << 0)
-#define VI6_RPF_ALPH_SEL_ALPHA1_SHIFT  0
+#define VI6_RPF_ALPH_SEL_ALPHA1_MASK   (0xff << 8)
+#define VI6_RPF_ALPH_SEL_ALPHA1_SHIFT  8
+#define VI6_RPF_ALPH_SEL_ALPHA0_MASK   (0xff << 0)
+#define VI6_RPF_ALPH_SEL_ALPHA0_SHIFT  0
 
 #define VI6_RPF_VRTCOL_SET             0x0318
 #define VI6_RPF_VRTCOL_SET_LAYA_MASK   (0xff << 24)