diff options
Diffstat (limited to 'drivers/parport/parport_pc.c')
| -rw-r--r-- | drivers/parport/parport_pc.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/parport/parport_pc.c b/drivers/parport/parport_pc.c index 1b938bb9be3c..c6493ad7c0c8 100644 --- a/drivers/parport/parport_pc.c +++ b/drivers/parport/parport_pc.c | |||
| @@ -173,8 +173,7 @@ static int change_mode(struct parport *p, int m) | |||
| 173 | if (time_after_eq (jiffies, expire)) | 173 | if (time_after_eq (jiffies, expire)) |
| 174 | /* The FIFO is stuck. */ | 174 | /* The FIFO is stuck. */ |
| 175 | return -EBUSY; | 175 | return -EBUSY; |
| 176 | __set_current_state (TASK_INTERRUPTIBLE); | 176 | schedule_timeout_interruptible(msecs_to_jiffies(10)); |
| 177 | schedule_timeout ((HZ + 99) / 100); | ||
| 178 | if (signal_pending (current)) | 177 | if (signal_pending (current)) |
| 179 | break; | 178 | break; |
| 180 | } | 179 | } |
