[media] media: i2c: ADV7604: In free run mode, signal is locked
authorjean-michel.hautbois@vodalys.com <jean-michel.hautbois@vodalys.com>
Fri, 6 Feb 2015 14:37:58 +0000 (11:37 -0300)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Mon, 2 Mar 2015 17:54:22 +0000 (14:54 -0300)
commit5851462531b5c08811057b4530cdb3170e22ac2a
treeba0ec80191b24da6fb768a04d67c08eb1cb39ded
parent8aa9eb9059f6246b530d664f271e5c32858222ed
[media] media: i2c: ADV7604: In free run mode, signal is locked

The CP_NON_STD_VIDEO bit indicates an input not aligned with DV timings.
If there is no input, and chip is in free run mode, consider we are locked.

Signed-off-by: Jean-Michel Hautbois <jean-michel.hautbois@vodalys.com>
[hans.verkuil@cisco.com: put both conditions in one 'if']
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
drivers/media/i2c/adv7604.c