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, 2 insertions, 0 deletions
diff --git a/drivers/ata/libata-eh.c b/drivers/ata/libata-eh.c
index 60186f8ac3a1..687419b66708 100644
--- a/drivers/ata/libata-eh.c
+++ b/drivers/ata/libata-eh.c
@@ -2003,6 +2003,8 @@ static int ata_eh_followup_srst_needed(struct ata_link *link,
2003 return 1; 2003 return 1;
2004 if (rc != 0) 2004 if (rc != 0)
2005 return 0; 2005 return 0;
2006 if ((link->ap->flags & ATA_FLAG_PMP) && ata_is_host_link(link))
2007 return 1;
2006 if (classify && !(link->flags & ATA_LFLAG_ASSUME_CLASS) && 2008 if (classify && !(link->flags & ATA_LFLAG_ASSUME_CLASS) &&
2007 classes[0] == ATA_DEV_UNKNOWN) 2009 classes[0] == ATA_DEV_UNKNOWN)
2008 return 1; 2010 return 1;