diff options
author | Ulrich Hecht <ulrich.hecht+renesas@gmail.com> | 2016-02-17 14:57:56 (GMT) |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@osg.samsung.com> | 2016-03-03 10:32:20 (GMT) |
commit | b5a442aab4878489455520980d578ce665033465 (patch) | |
tree | bf12cb4a78c5f7f6be60ee788e8bbd018a81ca31 /drivers/media | |
parent | a1a87fa3a0cf8c9d3c5939c6311621ac3dbcb0da (diff) | |
download | linux-b5a442aab4878489455520980d578ce665033465.tar.xz |
[media] adv7604: fix SPA register location for ADV7612
SPA location LSB register is at 0x70.
Signed-off-by: Ulrich Hecht <ulrich.hecht+renesas@gmail.com>
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
Diffstat (limited to 'drivers/media')
-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 befb07d..41a1bfc 100644 --- a/drivers/media/i2c/adv7604.c +++ b/drivers/media/i2c/adv7604.c @@ -2095,7 +2095,8 @@ static int adv76xx_set_edid(struct v4l2_subdev *sd, struct v4l2_edid *edid) rep_write(sd, 0x76, spa_loc & 0xff); rep_write_clr_set(sd, 0x77, 0x40, (spa_loc & 0x100) >> 2); } else { - /* FIXME: Where is the SPA location LSB register ? */ + /* ADV7612 Software Manual Rev. A, p. 15 */ + rep_write(sd, 0x70, spa_loc & 0xff); rep_write_clr_set(sd, 0x71, 0x01, (spa_loc & 0x100) >> 8); } |