Commit 9ba91a45 authored by Matthieu Cattin's avatar Matthieu Cattin

Remove timeout in interrupt wait.

parent 14302268
......@@ -551,8 +551,7 @@ static long rr_ioctl(struct file *f, unsigned int cmd, unsigned long arg)
ret = -EAGAIN; /* already happened */
break;
}
/* IRQ timeout of 1 second */
wait_event_interruptible_timeout(dev->q, count != dev->irqcount, HZ);
wait_event_interruptible(dev->q, count != dev->irqcount);
if (signal_pending(current))
ret = -ERESTARTSYS;
break;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment