[media] adv7511: fix VIC autodetect
authorHans Verkuil <hverkuil@xs4all.nl>
Sun, 17 Jul 2016 09:02:51 +0000 (06:02 -0300)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Thu, 28 Jul 2016 23:13:26 +0000 (20:13 -0300)
commitbd3276a3325d69a9a23eba88dac26f3bc3061224
treed9a9628e181fa701456e74f8f39dd8c8f57b6422
parent43f71d93a0cb342f0c918fba3f6abb7661e40ad2
[media] adv7511: fix VIC autodetect

The adv7511 will automatically fill in the VIC code in the AVI InfoFrame
based on the timings of the incoming pixelport signals.

However, to have this work correctly it needs to specify the fps
value in a register. After doing this the proper VIC code is filled in.

Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
drivers/media/i2c/adv7511.c