Commit 381f3f1c authored by Dmitry Torokhov's avatar Dmitry Torokhov

Input: polled device - schedule first poll immediately

It does not make sense to wait poll_interval before performing first
read after opening the device, schedule the read immediately instead.
Signed-off-by: default avatarDmitry Torokhov <>
parent f5f96b93
......@@ -88,8 +88,7 @@ static int input_open_polled_device(struct input_dev *input)
if (dev->open)
queue_delayed_work(polldev_wq, &dev->work,
queue_delayed_work(polldev_wq, &dev->work, 0);
return 0;
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment