Merge branch 'master' into upstream
[linux-2.6.git] / drivers / scsi / libata-core.c
index 89c3fbe6e67c0fde52580124e64032f6501b6686..df483adc3f75506ee498c5e8fc58e6abc42cb59d 100644 (file)
@@ -4990,6 +4990,7 @@ int ata_device_resume(struct ata_device *dev)
        if (ap->flags & ATA_FLAG_SUSPENDED) {
                struct ata_device *failed_dev;
 
+               ata_busy_sleep(ap, ATA_TMOUT_BOOT_QUICK, ATA_TMOUT_BOOT);
                ata_busy_wait(ap, ATA_BUSY | ATA_DRQ, 200000);
 
                ap->flags &= ~ATA_FLAG_SUSPENDED;