Re: [PATCH v3 2/3] input: gpio-keys: Use hrtimer for release timer

2021-03-23 Thread Dmitry Torokhov
On Sun, Mar 07, 2021 at 10:22:39PM +, Paul Cercueil wrote: > 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

[PATCH v3 2/3] input: gpio-keys: Use hrtimer for release timer

2021-03-07 Thread Paul Cercueil
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