diff options
author | 2020-11-29 18:01:26 +0100 | |
---|---|---|
committer | 2020-12-01 16:00:51 +0100 | |
commit | d904eb0b351fe5545d9ba5b85844342f49025923 (patch) | |
tree | b3412a6ca6b59a2d98ded7b334b92586dc0b1de1 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | media: vidtv.rst: add kernel-doc markups (diff) | |
download | linux-dev-d904eb0b351fe5545d9ba5b85844342f49025923.tar.xz linux-dev-d904eb0b351fe5545d9ba5b85844342f49025923.zip |
media: mtk-cir: fix calculation of chk period
Since commit 528222d853f9 ("media: rc: harmonize infrared durations to
microseconds"), the calculation of the chk period is wrong. As a result,
all reported IR will have incorrect timings.
Now that the calculations are done in microseconds rather than nanoseconds,
we can fold the calculations in a simpler form with less rounding error.
Tested-by: Frank Wunderlich <frank-w@public-files.de>
Fixes: 528222d853f9 ("media: rc: harmonize infrared durations to microseconds")
Signed-off-by: Sean Young <sean@mess.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions