Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 143139
b: refs/heads/master
c: fa88661
h: refs/heads/master
i:
  143137: 8e1c230
  143135: 40b5b2d
v: v3
  • Loading branch information
Dmitry Torokhov committed Mar 8, 2009
1 parent 8b7fc90 commit 76e4e69
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 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: d15c22e78674f9a5bc0de0932a43abe1aafae303
refs/heads/master: fa88661224946145819a904cef2ec7dd5c9c78bc
6 changes: 3 additions & 3 deletions trunk/drivers/input/input.c
Original file line number Diff line number Diff line change
Expand Up @@ -744,11 +744,11 @@ static inline void input_wakeup_procfs_readers(void)

static unsigned int input_proc_devices_poll(struct file *file, poll_table *wait)
{
int state = input_devices_state;

poll_wait(file, &input_devices_poll_wait, wait);
if (state != input_devices_state)
if (file->f_version != input_devices_state) {
file->f_version = input_devices_state;
return POLLIN | POLLRDNORM;
}

return 0;
}
Expand Down

0 comments on commit 76e4e69

Please sign in to comment.