summaryrefslogtreecommitdiffstats
path: root/drivers/input/joystick
diff options
context:
space:
mode:
authorSamu Onkalo <samu.p.onkalo@nokia.com>2009-11-23 19:01:33 +0100
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2009-11-23 19:16:09 +0100
commit11bb4cc7c772963952304398f999fc195b0da285 (patch)
treec7e719cb1b4b8dfefcfbc5a96af28dc194aff52e /drivers/input/joystick
parentInput: polled device - schedule first poll immediately (diff)
downloadlinux-11bb4cc7c772963952304398f999fc195b0da285.tar.xz
linux-11bb4cc7c772963952304398f999fc195b0da285.zip
Input: polled device - do not start polling if interval is zero
If the poll interval is set to 0 via new sysfs entry and device is opened after that, polling is started with interval 0. This causes huge CPU load. Same happens if the rate was 0 when the device was closed and then reopened. Signed-off-by: Samu Onkalo <samu.p.onkalo@nokia.com> Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
Diffstat (limited to 'drivers/input/joystick')
0 files changed, 0 insertions, 0 deletions