git.openpandora.org
/
pandora-kernel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
pps: fix race in PPS_FETCH handler
[pandora-kernel.git]
/
drivers
/
pps
/
kapi.c
diff --git
a/drivers/pps/kapi.c
b/drivers/pps/kapi.c
index
55f3961
..
3f89f5e
100644
(file)
--- a/
drivers/pps/kapi.c
+++ b/
drivers/pps/kapi.c
@@
-326,8
+326,8
@@
void pps_event(int source, struct pps_ktime *ts, int event, void *data)
/* Wake up if captured something */
if (captured) {
- pps->
go = ~0
;
- wake_up_interruptible(&pps->queue);
+ pps->
last_ev++
;
+ wake_up_interruptible
_all
(&pps->queue);
kill_fasync(&pps->async_queue, SIGIO, POLL_IN);
}