]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit
Input: add input_get_poll_interval()
authorDmitry Torokhov <dmitry.torokhov@gmail.com>
Wed, 2 Oct 2019 17:20:19 +0000 (10:20 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Fri, 4 Oct 2019 19:31:46 +0000 (12:31 -0700)
commit894616f79200f74af6a0426fa20d986b1f45cd9b
tree9370c2eeb1d9e28f868d8d3de086d823b329b775
parent463fa44eec2fef50d111ed0199cf593235065c04
Input: add input_get_poll_interval()

Some drivers need to be able to know the current polling interval for
devices working in polling mode, let's allow them fetching it.

Acked-By: Benjamin Tissoires <benjamin.tissoires@redhat.com>
Tested-by: Michal Vokáč <michal.vokac@ysoft.com>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/input-poller.c
include/linux/input.h