upstream: [media] adv7842: restart STDI once if format is not found
authorMartin Bugge <marbugge@cisco.com>
Tue, 10 Dec 2013 15:00:06 +0000 (12:00 -0300)
committerChanho Park <chanho61.park@samsung.com>
Tue, 18 Nov 2014 02:55:30 +0000 (11:55 +0900)
commit4316b1a9c3c5bd7ded76ce76b3737601eed17e40
treeacb45577d501cb09f88b20182eb1303a27e256ec
parent80eca2d2654cc29a9a9eb5ad131d2168a457052d
upstream: [media] adv7842: 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.

Copied from adv7604.

Signed-off-by: Martin Bugge <marbugge@cisco.com>
Cc: Mats Randgaard <matrandg@cisco.com>
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
drivers/media/i2c/adv7842.c