aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/parport/ieee1284.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/parport/ieee1284.c b/drivers/parport/ieee1284.c
index ac2a805ac7ea..8901ecf6e037 100644
--- a/drivers/parport/ieee1284.c
+++ b/drivers/parport/ieee1284.c
@@ -84,7 +84,7 @@ int parport_wait_event (struct parport *port, signed long timeout)
84 84
85 add_timer (&timer); 85 add_timer (&timer);
86 ret = down_interruptible (&port->physport->ieee1284.irq); 86 ret = down_interruptible (&port->physport->ieee1284.irq);
87 if (!del_timer (&timer) && !ret) 87 if (!del_timer_sync(&timer) && !ret)
88 /* Timed out. */ 88 /* Timed out. */
89 ret = 1; 89 ret = 1;
90 90