diff options
-rw-r--r-- | drivers/ide/ide-tape.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/ide/ide-tape.c b/drivers/ide/ide-tape.c index 5a3dc46008e6..ee38e6b143a4 100644 --- a/drivers/ide/ide-tape.c +++ b/drivers/ide/ide-tape.c | |||
@@ -2903,8 +2903,7 @@ static int idetape_wait_ready(ide_drive_t *drive, unsigned long timeout) | |||
2903 | } else if (!(tape->sense_key == 2 && tape->asc == 4 && | 2903 | } else if (!(tape->sense_key == 2 && tape->asc == 4 && |
2904 | (tape->ascq == 1 || tape->ascq == 8))) | 2904 | (tape->ascq == 1 || tape->ascq == 8))) |
2905 | return -EIO; | 2905 | return -EIO; |
2906 | current->state = TASK_INTERRUPTIBLE; | 2906 | msleep(100); |
2907 | schedule_timeout(HZ / 10); | ||
2908 | } | 2907 | } |
2909 | return -EIO; | 2908 | return -EIO; |
2910 | } | 2909 | } |