media: adv7842: enable reduced fps detection
authorHans Verkuil <hans.verkuil@cisco.com>
Wed, 15 Aug 2018 12:54:43 +0000 (08:54 -0400)
committerMauro Carvalho Chehab <mchehab+samsung@kernel.org>
Fri, 31 Aug 2018 14:03:51 +0000 (10:03 -0400)
commitd842a7cf938b6e0f8a1aa9f1aec0476c9a599310
treef67d0c2d78f62d2e2d0db28d852de75fe90052e6
parent3ae17c66ed666c5a5c627f28c9e20b2ab8fafe28
media: adv7842: enable reduced fps detection

The pixelclock detection of the adv7842 is precise enough to detect
if the framerate is 60 Hz or 59.94 Hz (aka "reduced fps").

Implement this detection.

Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
drivers/media/i2c/adv7842.c