diff options
author | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2014-02-05 02:57:56 +0400 |
---|---|---|
committer | Mauro Carvalho Chehab <m.chehab@samsung.com> | 2014-05-25 20:10:16 +0400 |
commit | 1b5ab8755ec7b6ac83bf8d09c9f908d94e36b9a4 (patch) | |
tree | f50119f137dc00fe58c48dbb02d3227bcd46f048 /drivers/media/i2c | |
parent | 9b2c38239dcd21d9eed1a49a486d8779c915d277 (diff) | |
download | linux-1b5ab8755ec7b6ac83bf8d09c9f908d94e36b9a4.tar.xz |
[media] adv7604: Add LLC polarity configuration
Add an inv_llc_pol field to platform data to control the clock polarity.
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Hans Verkuil <hans.verkuil@cisco.com>
Reviewed-by: Sylwester Nawrocki <s.nawrocki@samsung.com>
Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
Diffstat (limited to 'drivers/media/i2c')
-rw-r--r-- | drivers/media/i2c/adv7604.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/media/i2c/adv7604.c b/drivers/media/i2c/adv7604.c index 1a2797bfd12e..1778d320272e 100644 --- a/drivers/media/i2c/adv7604.c +++ b/drivers/media/i2c/adv7604.c @@ -2467,7 +2467,8 @@ static int adv7604_core_init(struct v4l2_subdev *sd) cp_write(sd, 0x69, 0x30); /* Enable CP CSC */ /* VS, HS polarities */ - io_write(sd, 0x06, 0xa0 | pdata->inv_vs_pol << 2 | pdata->inv_hs_pol << 1); + io_write(sd, 0x06, 0xa0 | pdata->inv_vs_pol << 2 | + pdata->inv_hs_pol << 1 | pdata->inv_llc_pol); /* Adjust drive strength */ io_write(sd, 0x14, 0x40 | pdata->dr_str_data << 4 | |