Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 269445
b: refs/heads/master
c: 5e3e4eb
h: refs/heads/master
i:
  269443: 63b9d23
v: v3
  • Loading branch information
Dmitry Torokhov committed Aug 9, 2011
1 parent 3fce012 commit cf59674
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 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: 11205bb63e5c2e5174f377595103005b00c68370
refs/heads/master: 5e3e4eb1bf212d9ae4997ebcbe2fdfb348b70213
6 changes: 4 additions & 2 deletions trunk/drivers/input/input-polldev.c
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,10 @@ static int input_open_polled_device(struct input_dev *input)
dev->open(dev);

/* Only start polling if polling is enabled */
if (dev->poll_interval > 0)
queue_delayed_work(system_freezable_wq, &dev->work, 0);
if (dev->poll_interval > 0) {
dev->poll(dev);
input_polldev_queue_work(dev);
}

return 0;
}
Expand Down

0 comments on commit cf59674

Please sign in to comment.