aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/ata/libata-eh.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/ata/libata-eh.c')
-rw-r--r--drivers/ata/libata-eh.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/ata/libata-eh.c b/drivers/ata/libata-eh.c
index cc8548e1572a..f4f9c2783821 100644
--- a/drivers/ata/libata-eh.c
+++ b/drivers/ata/libata-eh.c
@@ -2861,7 +2861,7 @@ void ata_std_error_handler(struct ata_port *ap)
2861 * ata_base_port_ops. Ignore it if SCR access is not 2861 * ata_base_port_ops. Ignore it if SCR access is not
2862 * available. 2862 * available.
2863 */ 2863 */
2864 if (hardreset == sata_std_hardreset && !sata_scr_valid(&ap->link)) 2864 if (hardreset == sata_sff_hardreset && !sata_scr_valid(&ap->link))
2865 hardreset = NULL; 2865 hardreset = NULL;
2866 2866
2867 ata_do_eh(ap, ops->prereset, ops->softreset, hardreset, ops->postreset); 2867 ata_do_eh(ap, ops->prereset, ops->softreset, hardreset, ops->postreset);