diff options
author | Jeff Garzik <jeff@garzik.org> | 2006-05-28 16:32:59 -0400 |
---|---|---|
committer | Jeff Garzik <jeff@garzik.org> | 2006-05-28 16:32:59 -0400 |
commit | e42d7be25cf53548347bff8b8f43410704ea7bb0 (patch) | |
tree | 7afd08ee70f929abec9118960508828e2d07f234 | |
parent | 75e995855f45a83afdae34d50c0b3ee14fb23b7a (diff) | |
parent | 0737ac895afbfbe210557fa5fbafcca932d5fa7c (diff) |
Merge branch 'upstream-fixes' into upstream
Conflicts:
drivers/scsi/libata-core.c
-rw-r--r-- | drivers/scsi/libata-core.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/scsi/libata-core.c b/drivers/scsi/libata-core.c index f19fe662f0ca..abcf17ebda90 100644 --- a/drivers/scsi/libata-core.c +++ b/drivers/scsi/libata-core.c | |||
@@ -5021,6 +5021,9 @@ int ata_device_resume(struct ata_device *dev) | |||
5021 | 5021 | ||
5022 | if (ap->flags & ATA_FLAG_SUSPENDED) { | 5022 | if (ap->flags & ATA_FLAG_SUSPENDED) { |
5023 | struct ata_device *failed_dev; | 5023 | struct ata_device *failed_dev; |
5024 | |||
5025 | ata_busy_wait(ap, ATA_BUSY | ATA_DRQ, 200000); | ||
5026 | |||
5024 | ap->flags &= ~ATA_FLAG_SUSPENDED; | 5027 | ap->flags &= ~ATA_FLAG_SUSPENDED; |
5025 | while (ata_set_mode(ap, &failed_dev)) | 5028 | while (ata_set_mode(ap, &failed_dev)) |
5026 | ata_dev_disable(failed_dev); | 5029 | ata_dev_disable(failed_dev); |