diff options
Diffstat (limited to 'drivers/media/video/gspca/m5602/m5602_mt9m111.h')
-rw-r--r-- | drivers/media/video/gspca/m5602/m5602_mt9m111.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/drivers/media/video/gspca/m5602/m5602_mt9m111.h b/drivers/media/video/gspca/m5602/m5602_mt9m111.h index 2d39e12d642..57dcb56efef 100644 --- a/drivers/media/video/gspca/m5602/m5602_mt9m111.h +++ b/drivers/media/video/gspca/m5602/m5602_mt9m111.h | |||
@@ -94,6 +94,7 @@ | |||
94 | #define INITIAL_MAX_GAIN 64 | 94 | #define INITIAL_MAX_GAIN 64 |
95 | #define DEFAULT_GAIN 283 | 95 | #define DEFAULT_GAIN 283 |
96 | #define MT9M111_GREEN_GAIN_DEFAULT 0x20 | 96 | #define MT9M111_GREEN_GAIN_DEFAULT 0x20 |
97 | #define MT9M111_BLUE_GAIN_DEFAULT 0x20 | ||
97 | 98 | ||
98 | /*****************************************************************************/ | 99 | /*****************************************************************************/ |
99 | 100 | ||
@@ -183,8 +184,10 @@ static const unsigned char init_mt9m111[][4] = | |||
183 | {SENSOR, MT9M111_CP_OPERATING_MODE_CTL, 0x00, | 184 | {SENSOR, MT9M111_CP_OPERATING_MODE_CTL, 0x00, |
184 | MT9M111_CP_OPERATING_MODE_CTL}, | 185 | MT9M111_CP_OPERATING_MODE_CTL}, |
185 | {SENSOR, MT9M111_CP_LENS_CORRECTION_1, 0x04, 0x2a}, | 186 | {SENSOR, MT9M111_CP_LENS_CORRECTION_1, 0x04, 0x2a}, |
186 | {SENSOR, MT9M111_CP_DEFECT_CORR_CONTEXT_A, 0x00, MT9M111_2D_DEFECT_CORRECTION_ENABLE}, | 187 | {SENSOR, MT9M111_CP_DEFECT_CORR_CONTEXT_A, 0x00, |
187 | {SENSOR, MT9M111_CP_DEFECT_CORR_CONTEXT_B, 0x00, MT9M111_2D_DEFECT_CORRECTION_ENABLE}, | 188 | MT9M111_2D_DEFECT_CORRECTION_ENABLE}, |
189 | {SENSOR, MT9M111_CP_DEFECT_CORR_CONTEXT_B, 0x00, | ||
190 | MT9M111_2D_DEFECT_CORRECTION_ENABLE}, | ||
188 | {SENSOR, MT9M111_CP_LUMA_OFFSET, 0x00, 0x00}, | 191 | {SENSOR, MT9M111_CP_LUMA_OFFSET, 0x00, 0x00}, |
189 | {SENSOR, MT9M111_CP_LUMA_CLIP, 0xff, 0x00}, | 192 | {SENSOR, MT9M111_CP_LUMA_CLIP, 0xff, 0x00}, |
190 | {SENSOR, MT9M111_CP_OUTPUT_FORMAT_CTL2_CONTEXT_A, 0x14, 0x00}, | 193 | {SENSOR, MT9M111_CP_OUTPUT_FORMAT_CTL2_CONTEXT_A, 0x14, 0x00}, |