Input: polled device - schedule first poll immediately
diff mbox

Message ID 20091119070445.GC3010@core.coreip.homeip.net
State Accepted
Commit 381f3f1ccf380d4d3c46987d04c199842d4c6e1f
Headers show

Commit Message

Dmitry Torokhov Nov. 19, 2009, 7:04 a.m. UTC
None

Patch
diff mbox

diff --git a/drivers/input/input-polldev.c b/drivers/input/input-polldev.c
index 094f4b9..9628be6 100644
--- a/drivers/input/input-polldev.c
+++ b/drivers/input/input-polldev.c
@@ -88,8 +88,7 @@  static int input_open_polled_device(struct input_dev *input)
 	if (dev->open)
 		dev->open(dev);
 
-	queue_delayed_work(polldev_wq, &dev->work,
-			   msecs_to_jiffies(dev->poll_interval));
+	queue_delayed_work(polldev_wq, &dev->work, 0);
 
 	return 0;
 }