aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/video/mt9m111.c
diff options
context:
space:
mode:
authorMichael Grzeschik <m.grzeschik@pengutronix.de>2010-08-03 06:57:41 -0400
committerMauro Carvalho Chehab <mchehab@redhat.com>2010-10-20 23:06:17 -0400
commitec73365bd47bb7e113f66d0d617676722c9447b1 (patch)
tree300626acffeb7931702efeac7246031f7abcbd6d /drivers/media/video/mt9m111.c
parent873ecd8f8f5eed877df74e54e7c20aee9ef887e5 (diff)
V4L/DVB: mt9m111: register cleanup hex to dec bitoffset
Signed-off-by: Philipp Wiesner <p.wiesner@phytec.de> Signed-off-by: Michael Grzeschik <m.grzeschik@pengutronix.de> Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/video/mt9m111.c')
-rw-r--r--drivers/media/video/mt9m111.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/drivers/media/video/mt9m111.c b/drivers/media/video/mt9m111.c
index 2ca461a072af..ed12cca73be9 100644
--- a/drivers/media/video/mt9m111.c
+++ b/drivers/media/video/mt9m111.c
@@ -100,14 +100,14 @@
100#define MT9M111_OUTFMT_BYPASS_IFP (1 << 10) 100#define MT9M111_OUTFMT_BYPASS_IFP (1 << 10)
101#define MT9M111_OUTFMT_INV_PIX_CLOCK (1 << 9) 101#define MT9M111_OUTFMT_INV_PIX_CLOCK (1 << 9)
102#define MT9M111_OUTFMT_RGB (1 << 8) 102#define MT9M111_OUTFMT_RGB (1 << 8)
103#define MT9M111_OUTFMT_RGB565 (0x0 << 6) 103#define MT9M111_OUTFMT_RGB565 (0 << 6)
104#define MT9M111_OUTFMT_RGB555 (0x1 << 6) 104#define MT9M111_OUTFMT_RGB555 (1 << 6)
105#define MT9M111_OUTFMT_RGB444x (0x2 << 6) 105#define MT9M111_OUTFMT_RGB444x (2 << 6)
106#define MT9M111_OUTFMT_RGBx444 (0x3 << 6) 106#define MT9M111_OUTFMT_RGBx444 (3 << 6)
107#define MT9M111_OUTFMT_TST_RAMP_OFF (0x0 << 4) 107#define MT9M111_OUTFMT_TST_RAMP_OFF (0 << 4)
108#define MT9M111_OUTFMT_TST_RAMP_COL (0x1 << 4) 108#define MT9M111_OUTFMT_TST_RAMP_COL (1 << 4)
109#define MT9M111_OUTFMT_TST_RAMP_ROW (0x2 << 4) 109#define MT9M111_OUTFMT_TST_RAMP_ROW (2 << 4)
110#define MT9M111_OUTFMT_TST_RAMP_FRAME (0x3 << 4) 110#define MT9M111_OUTFMT_TST_RAMP_FRAME (3 << 4)
111#define MT9M111_OUTFMT_SHIFT_3_UP (1 << 3) 111#define MT9M111_OUTFMT_SHIFT_3_UP (1 << 3)
112#define MT9M111_OUTFMT_AVG_CHROMA (1 << 2) 112#define MT9M111_OUTFMT_AVG_CHROMA (1 << 2)
113#define MT9M111_OUTFMT_SWAP_YCbCr_C_Y (1 << 1) 113#define MT9M111_OUTFMT_SWAP_YCbCr_C_Y (1 << 1)