summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorAlex Gonzalez <alex.gonzalez@digi.com>2012-02-08 18:28:05 +0100
committerAlex Gonzalez <alex.gonzalez@digi.com>2012-02-08 18:28:05 +0100
commit321a0e6c6ebac862ecbecbb3c28a23105e8a1f50 (patch)
tree1bc11af642c1e45be46b422b6018870f747f2a65 /drivers
parent691db6c0a1dca1075906d0906899f66852f51d7a (diff)
mt9v111: Set VS polarity to active low.
This fixes issues with the first buffer captured by the sensor when connected to the MX5X CSI. Fixes Vantive 41833. Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/media/video/mxc/capture/mt9v111.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/media/video/mxc/capture/mt9v111.c b/drivers/media/video/mxc/capture/mt9v111.c
index 1330f927e051..6315b5c5cefd 100644
--- a/drivers/media/video/mxc/capture/mt9v111.c
+++ b/drivers/media/video/mxc/capture/mt9v111.c
@@ -793,6 +793,9 @@ static int ioctl_g_ifparm(struct v4l2_int_device *s, struct v4l2_ifparm *p)
p->u.bt656.clock_min = MT9V111_CLK_MIN;
p->u.bt656.clock_max = MT9V111_CLK_MAX;
+ p->u.bt656.nobt_vs_inv = 1; /* Vs polarity. 1 is active low. */
+ p->u.bt656.nobt_hs_inv = 0; /* Hs polarity. 0 is active high. */
+
return 0;
}