From: Laurent Pinchart Date: Mon, 2 Dec 2013 14:52:44 +0000 (-0300) Subject: [media] mt9v032: Fix pixel array size X-Git-Tag: v3.14-rc1~20^2~306 X-Git-Url: https://openfabrics.org/gitweb/?a=commitdiff_plain;h=2b9e9f779cb29f25102d4e7f14df557ead58e659;p=~emulex%2Finfiniband.git [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 Signed-off-by: Mauro Carvalho Chehab --- diff --git a/drivers/media/i2c/mt9v032.c b/drivers/media/i2c/mt9v032.c index 20558203073..12360e47573 100644 --- a/drivers/media/i2c/mt9v032.c +++ b/drivers/media/i2c/mt9v032.c @@ -27,8 +27,9 @@ #include #include -#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