aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/ata/libahci.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/ata/libahci.c')
-rw-r--r--drivers/ata/libahci.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/drivers/ata/libahci.c b/drivers/ata/libahci.c
index 3c92dbd751e0..a72bfd0ecfee 100644
--- a/drivers/ata/libahci.c
+++ b/drivers/ata/libahci.c
@@ -746,9 +746,6 @@ static void ahci_start_port(struct ata_port *ap)
746 /* enable FIS reception */ 746 /* enable FIS reception */
747 ahci_start_fis_rx(ap); 747 ahci_start_fis_rx(ap);
748 748
749 /* enable DMA */
750 ahci_start_engine(ap);
751
752 /* turn on LEDs */ 749 /* turn on LEDs */
753 if (ap->flags & ATA_FLAG_EM) { 750 if (ap->flags & ATA_FLAG_EM) {
754 ata_for_each_link(link, ap, EDGE) { 751 ata_for_each_link(link, ap, EDGE) {
@@ -2022,7 +2019,7 @@ static int ahci_port_suspend(struct ata_port *ap, pm_message_t mesg)
2022 ahci_power_down(ap); 2019 ahci_power_down(ap);
2023 else { 2020 else {
2024 ata_port_err(ap, "%s (%d)\n", emsg, rc); 2021 ata_port_err(ap, "%s (%d)\n", emsg, rc);
2025 ahci_start_port(ap); 2022 ata_port_freeze(ap);
2026 } 2023 }
2027 2024
2028 return rc; 2025 return rc;