diff options
author | 2021-01-05 10:30:23 +0100 | |
---|---|---|
committer | 2021-01-11 12:58:44 +0100 | |
commit | 06b831588b639ad9d94e4789b0250562228722c2 (patch) | |
tree | f5c4bede5a091b804eba763046e7b233dbbaac28 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | media: v4l: common: Fix naming of v4l2_get_link_rate (diff) | |
download | wireguard-linux-06b831588b639ad9d94e4789b0250562228722c2.tar.xz wireguard-linux-06b831588b639ad9d94e4789b0250562228722c2.zip |
media: rc: fix timeout handling after switch to microsecond durations
Commit 528222d853f92 ("media: rc: harmonize infrared durations to
microseconds") missed to switch some timeout calculations from
nanoseconds to microseconds. This resulted in spurious key_up+key_down
events at the last scancode if the rc device uses a long timeout
(eg 100ms on nuvoton-cir) as the device timeout wasn't properly
accounted for in the keyup timeout calculation.
Fix this by applying the proper conversion functions.
Cc: stable@vger.kernel.org
Fixes: 528222d853f92 ("media: rc: harmonize infrared durations to microseconds")
Signed-off-by: Matthias Reichl <hias@horus.com>
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