aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/pps/kapi.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/pps/kapi.c')
-rw-r--r--drivers/pps/kapi.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/pps/kapi.c b/drivers/pps/kapi.c
index 55f39618261b..3f89f5eba81c 100644
--- 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)
326 326
327 /* Wake up if captured something */ 327 /* Wake up if captured something */
328 if (captured) { 328 if (captured) {
329 pps->go = ~0; 329 pps->last_ev++;
330 wake_up_interruptible(&pps->queue); 330 wake_up_interruptible_all(&pps->queue);
331 331
332 kill_fasync(&pps->async_queue, SIGIO, POLL_IN); 332 kill_fasync(&pps->async_queue, SIGIO, POLL_IN);
333 } 333 }