summaryrefslogtreecommitdiff
path: root/include/linux/timerqueue.h
diff options
context:
space:
mode:
authorPaul Cercueil <paul@crapouillou.net>2021-03-22 02:06:34 +0300
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2021-03-25 21:14:08 +0300
commit019002f20cb5b9f78d39360aff244265d035e08a (patch)
tree987ad16318d996060444852aa02b88e8a2a32673 /include/linux/timerqueue.h
parent36a8fc6fa230eb936385884391cac80420cd0e6f (diff)
downloadlinux-019002f20cb5b9f78d39360aff244265d035e08a.tar.xz
Input: gpio-keys - use hrtimer for release timer
Dealing with input, timing is important; if the button should be released in one millisecond, then it should be done in one millisecond and not a hundred milliseconds. Therefore, the standard timer API is not really suitable for this task. Convert the gpio-keys driver to use a hrtimer instead of the standard timer to address this issue. Note that by using a hard IRQ for the hrtimer callback, we can get rid of the spin_lock_irqsave() and spin_unlock_irqrestore(). Signed-off-by: Paul Cercueil <paul@crapouillou.net> Link: https://lore.kernel.org/r/20210307222240.380583-2-paul@crapouillou.net Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Diffstat (limited to 'include/linux/timerqueue.h')
0 files changed, 0 insertions, 0 deletions