summaryrefslogtreecommitdiff
path: root/drivers/media/i2c/adv7842.c
diff options
context:
space:
mode:
authorMartin Bugge <marbugge@cisco.com>2013-12-05 11:40:43 -0300
committerMauro Carvalho Chehab <m.chehab@samsung.com>2014-01-07 06:23:18 -0200
commit32dbc8d4d5b2307ade65a28679e904c84f64764e (patch)
tree1d7a228f1e6a9d2966c0ab6f00a3195df3788ad9 /drivers/media/i2c/adv7842.c
parent7de5be44a523558b7b5330fba9d24e95a519c1ec (diff)
[media] adv7842: added DE vertical position in SDP-io-sync
Signed-off-by: Martin Bugge <marbugge@cisco.com> Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com> Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
Diffstat (limited to 'drivers/media/i2c/adv7842.c')
-rw-r--r--drivers/media/i2c/adv7842.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/media/i2c/adv7842.c b/drivers/media/i2c/adv7842.c
index 4f93526e3b64..05d65a834197 100644
--- a/drivers/media/i2c/adv7842.c
+++ b/drivers/media/i2c/adv7842.c
@@ -2397,6 +2397,10 @@ static int adv7842_core_init(struct v4l2_subdev *sd,
sdp_io_write(sd, 0x99, s->de_beg & 0xff);
sdp_io_write(sd, 0x9a, (s->de_end>>8) & 0xf);
sdp_io_write(sd, 0x9b, s->de_end & 0xff);
+ sdp_io_write(sd, 0xac, s->de_v_beg_o);
+ sdp_io_write(sd, 0xad, s->de_v_beg_e);
+ sdp_io_write(sd, 0xae, s->de_v_end_o);
+ sdp_io_write(sd, 0xaf, s->de_v_end_e);
}
/* todo, improve settings for sdram */