[media] mt9v022 driver: send valid HORIZONTAL_BLANKING values to mt9v024 soc camera
authorAndrei Andreyanau <a.andreyanau@sam-solutions.net>
Wed, 6 Feb 2013 14:29:18 +0000 (11:29 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Thu, 21 Mar 2013 17:19:50 +0000 (14:19 -0300)
commitbff7993936a1617f7502ddd2a09d37767fc8c929
tree456442398f9769f4196c407e5220ae5668aa2e32
parent4a1313c447ffb67125802d20653959ac46b0b4ef
[media] mt9v022 driver: send valid HORIZONTAL_BLANKING values to mt9v024 soc camera

This patch fixes the issue that appears when mt9v024 camera is used with the
mt9v022 soc camera driver. The minimum total row time is 690 columns
(horizontal width + horizontal blanking). The minimum horizontal
blanking is 61. Thus, when the window width is set below 627, horizontal blanking must
be increased. For the mt9v024 camera the values above are correct and
for the mt9v022 camera the correct values are in the existing kernel driver.

Signed-off-by: Andrei Andreyanau <a.andreyanau@sam-solutions.net>
Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/i2c/soc_camera/mt9v022.c