Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 174251
b: refs/heads/master
c: 11bb4cc
h: refs/heads/master
i:
  174249: a2178f4
  174247: 3bb45d2
v: v3
  • Loading branch information
Samu Onkalo authored and Dmitry Torokhov committed Nov 23, 2009
1 parent e80f494 commit 76e8104
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 381f3f1ccf380d4d3c46987d04c199842d4c6e1f
refs/heads/master: 11bb4cc7c772963952304398f999fc195b0da285
4 changes: 3 additions & 1 deletion trunk/drivers/input/input-polldev.c
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,9 @@ static int input_open_polled_device(struct input_dev *input)
if (dev->open)
dev->open(dev);

queue_delayed_work(polldev_wq, &dev->work, 0);
/* Only start polling if polling is enabled */
if (dev->poll_interval > 0)
queue_delayed_work(polldev_wq, &dev->work, 0);

return 0;
}
Expand Down

0 comments on commit 76e8104

Please sign in to comment.