diff options
author | Prashant Laddha <prladdha@cisco.com> | 2015-06-05 11:13:31 +0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@osg.samsung.com> | 2015-06-09 23:41:47 +0300 |
commit | dc0cf4cfed89d3a784a8d1c5897fae8f6a137fa5 (patch) | |
tree | 4454f3fea0c3bbd00990217616dba826ca35bee1 /include/media/v4l2-dv-timings.h | |
parent | 7a5d99e7c9702932c266cffb71afd4e1f2282b31 (diff) | |
download | linux-dc0cf4cfed89d3a784a8d1c5897fae8f6a137fa5.tar.xz |
[media] v4l2-dv-timing: avoid rounding twice in gtf hblank calc
Currently, in gtf hblank calculations, the rounding is used twice,
one at intermediate division and one at final state where hblank
is rounded to nearest multiple of twice cell granularity. This
error got introduced in 'commit d7ed5a3ddaec ("[media]
v4l2-dv-timings: fix rounding in hblank and hsync calculation"),
where it missed combining the rounding step. Correcting the same
in this patch.
Signed-off-by: Prashant Laddha <prladdha@cisco.com>
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
Diffstat (limited to 'include/media/v4l2-dv-timings.h')
0 files changed, 0 insertions, 0 deletions