Skip to content

Commit

Permalink
Merge branch 'upstream-fixes' into upstream
Browse files Browse the repository at this point in the history
Conflicts:

	drivers/scsi/libata-core.c
  • Loading branch information
Jeff Garzik committed May 28, 2006
2 parents 75e9958 + 0737ac8 commit e42d7be
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions drivers/scsi/libata-core.c
Original file line number Diff line number Diff line change
Expand Up @@ -5021,6 +5021,9 @@ int ata_device_resume(struct ata_device *dev)

if (ap->flags & ATA_FLAG_SUSPENDED) {
struct ata_device *failed_dev;

ata_busy_wait(ap, ATA_BUSY | ATA_DRQ, 200000);

ap->flags &= ~ATA_FLAG_SUSPENDED;
while (ata_set_mode(ap, &failed_dev))
ata_dev_disable(failed_dev);
Expand Down

0 comments on commit e42d7be

Please sign in to comment.