aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/ahci.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/scsi/ahci.c')
-rw-r--r--drivers/scsi/ahci.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/scsi/ahci.c b/drivers/scsi/ahci.c
index 5a6b2300989..2abc0aca5a8 100644
--- a/drivers/scsi/ahci.c
+++ b/drivers/scsi/ahci.c
@@ -504,7 +504,9 @@ static void ahci_phy_reset(struct ata_port *ap)
504 struct ata_device *dev = &ap->device[0]; 504 struct ata_device *dev = &ap->device[0];
505 u32 new_tmp, tmp; 505 u32 new_tmp, tmp;
506 506
507 ahci_stop_engine(ap);
507 __sata_phy_reset(ap); 508 __sata_phy_reset(ap);
509 ahci_start_engine(ap);
508 510
509 if (ap->flags & ATA_FLAG_PORT_DISABLED) 511 if (ap->flags & ATA_FLAG_PORT_DISABLED)
510 return; 512 return;