[media] adv7604: restart STDI once if format is not found
authorHans Verkuil <hans.verkuil@cisco.com>
Tue, 16 Oct 2012 13:12:55 +0000 (10:12 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Wed, 21 Nov 2012 20:12:20 +0000 (18:12 -0200)
commitcf9afb1dafaf1ffeffbb4acdb5adf255e8a2aa76
tree5149fba71f7d3b77c7c1fb2fb991510fa2f48f63
parentccbd5bc448ec782af7d1f3f68bd450c9c38015a0
[media] adv7604: restart STDI once if format is not found

The STDI block may measure wrong values, especially for lcvs and lcf. If the
driver can not find any valid timing, the STDI block is restarted to measure
the video timings again. The function will return an error, but the restart of
STDI will generate a new STDI interrupt and the format detection process will
restart.

Signed-off-by: Mats Randgaard <matrandg@cisco.com>
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/i2c/adv7604.c