diff options
Diffstat (limited to 'drivers/scsi/libata-core.c')
-rw-r--r-- | drivers/scsi/libata-core.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/scsi/libata-core.c b/drivers/scsi/libata-core.c index 89c3fbe6e67..df483adc3f7 100644 --- a/drivers/scsi/libata-core.c +++ b/drivers/scsi/libata-core.c | |||
@@ -4990,6 +4990,7 @@ int ata_device_resume(struct ata_device *dev) | |||
4990 | if (ap->flags & ATA_FLAG_SUSPENDED) { | 4990 | if (ap->flags & ATA_FLAG_SUSPENDED) { |
4991 | struct ata_device *failed_dev; | 4991 | struct ata_device *failed_dev; |
4992 | 4992 | ||
4993 | ata_busy_sleep(ap, ATA_TMOUT_BOOT_QUICK, ATA_TMOUT_BOOT); | ||
4993 | ata_busy_wait(ap, ATA_BUSY | ATA_DRQ, 200000); | 4994 | ata_busy_wait(ap, ATA_BUSY | ATA_DRQ, 200000); |
4994 | 4995 | ||
4995 | ap->flags &= ~ATA_FLAG_SUSPENDED; | 4996 | ap->flags &= ~ATA_FLAG_SUSPENDED; |