This is an automatic generated email to let you know that the following patch 
were queued at the 
http://git.linuxtv.org/cgit.cgi/media_tree.git tree:

Subject: [media] adv7604: fix SPA register location for ADV7612
Author:  Ulrich Hecht <[email protected]>
Date:    Wed Feb 17 12:57:56 2016 -0200

SPA location LSB register is at 0x70.

Signed-off-by: Ulrich Hecht <[email protected]>
Signed-off-by: Hans Verkuil <[email protected]>
Signed-off-by: Mauro Carvalho Chehab <[email protected]>

 drivers/media/i2c/adv7604.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

---

http://git.linuxtv.org/cgit.cgi/media_tree.git/commit/?id=b5a442aab4878489455520980d578ce665033465
diff --git a/drivers/media/i2c/adv7604.c b/drivers/media/i2c/adv7604.c
index befb07df036d..41a1bfc5eaa7 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);
        }
 

_______________________________________________
linuxtv-commits mailing list
[email protected]
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linuxtv-commits

Reply via email to