From: Martin Bugge Date: Wed, 14 Aug 2013 07:58:38 +0000 (-0300) Subject: [media] v4l2-dv-timings: fix CVT calculation X-Git-Tag: v3.12-rc1~135^2~66 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c3e75c7d5e203b6d1d16519bef8571b5d228b7fe;p=pandora-kernel.git [media] v4l2-dv-timings: fix CVT calculation This patch fixes two errors that caused incorrect format detections: The first bug is in the calculation of the vertical backporch: the combined period of vsync and backporch must *exceed* a certain minimum value, and not be equal to it. The second bug is a rounding error in the reduced blanking calculation: expand the ideal_duty_cylce to be in parts per ten thousand to avoid rounding errors. Signed-off-by: Martin Bugge Cc: Mats Randgaard Signed-off-by: Hans Verkuil Signed-off-by: Mauro Carvalho Chehab --- Reading git-diff-tree failed