diff options
author | Matthias Reichl <hias@horus.com> | 2021-01-09 21:10:55 +0100 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab+huawei@kernel.org> | 2021-01-12 12:47:15 +0100 |
commit | e1def45b5291278590bc3033cc518bf5c964a18d (patch) | |
tree | 4e5642c91cabfa7938b87a95b51818625b2a9176 /include/clocksource/arm_arch_timer.h | |
parent | 9eb09dc2f4650de8c6ce286d3153511e6f6314c0 (diff) |
media: rc: ite-cir: fix min_timeout calculation
Commit 528222d853f92 ("media: rc: harmonize infrared durations to
microseconds") missed to switch the min_timeout calculation from ns
to us. This resulted in a minimum timeout of 1.2 seconds instead of 1.2ms,
leading to large delays and long key repeats.
Fix this by applying proper ns->us conversion.
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 'include/clocksource/arm_arch_timer.h')
0 files changed, 0 insertions, 0 deletions