diff options
author | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2013-12-02 14:52:44 (GMT) |
---|---|---|
committer | Mauro Carvalho Chehab <m.chehab@samsung.com> | 2013-12-11 11:14:05 (GMT) |
commit | 2b9e9f779cb29f25102d4e7f14df557ead58e659 (patch) | |
tree | 07c1c600ac4a66707febdc42eee5316a7b6c6202 /drivers/media/i2c/mt9v032.c | |
parent | 4d88550a9a370e6fe6733d5c9424c10f20c0580f (diff) | |
download | linux-2b9e9f779cb29f25102d4e7f14df557ead58e659.tar.xz |
[media] mt9v032: Fix pixel array size
The active pixel array size is 753x481 with 4 additional black rows at
the top. Fix the driver accordingly.
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
Diffstat (limited to 'drivers/media/i2c/mt9v032.c')
-rw-r--r-- | drivers/media/i2c/mt9v032.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/drivers/media/i2c/mt9v032.c b/drivers/media/i2c/mt9v032.c index 2055820..12360e4 100644 --- a/drivers/media/i2c/mt9v032.c +++ b/drivers/media/i2c/mt9v032.c @@ -27,8 +27,9 @@ #include <media/v4l2-device.h> #include <media/v4l2-subdev.h> -#define MT9V032_PIXEL_ARRAY_HEIGHT 492 -#define MT9V032_PIXEL_ARRAY_WIDTH 782 +/* The first four rows are black rows. The active area spans 753x481 pixels. */ +#define MT9V032_PIXEL_ARRAY_HEIGHT 485 +#define MT9V032_PIXEL_ARRAY_WIDTH 753 #define MT9V032_SYSCLK_FREQ_DEF 26600000 |