Re: [PATCH] Input: add input_get_poll_interval()

2019-10-04 Thread Michal Vokáč
On 02. 10. 19 23:58, Dmitry Torokhov wrote: Some drivers need to be able to know the current polling interval for devices working in polling mode, let's allow them fetching it. Signed-off-by: Dmitry Torokhov Just tested to use this function from a mpr121_touchkey driver. Works as expected.

Re: [PATCH] Input: add input_get_poll_interval()

2019-10-03 Thread Dmitry Torokhov
Hi Benjamin, On Thu, Oct 03, 2019 at 02:34:59PM -0400, Benjamin Tissoires wrote: > Hi Dmitry, > > On Wed, Oct 2, 2019 at 5:58 PM Dmitry Torokhov > wrote: > > > > Some drivers need to be able to know the current polling interval for > > devices working in polling mode, let's allow them fetching

Re: [PATCH] Input: add input_get_poll_interval()

2019-10-03 Thread Benjamin Tissoires
Hi Dmitry, On Wed, Oct 2, 2019 at 5:58 PM Dmitry Torokhov wrote: > > Some drivers need to be able to know the current polling interval for > devices working in polling mode, let's allow them fetching it. > > Signed-off-by: Dmitry Torokhov Not sure if you really need my input on this one, but,

[PATCH] Input: add input_get_poll_interval()

2019-10-02 Thread Dmitry Torokhov
Some drivers need to be able to know the current polling interval for devices working in polling mode, let's allow them fetching it. Signed-off-by: Dmitry Torokhov --- drivers/input/input-poller.c | 9 + include/linux/input.h| 1 + 2 files changed, 10 insertions(+) diff --git