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.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/ata/libata-eh.c b/drivers/ata/libata-eh.c
index daa2f74f73c8..eb087bbc4771 100644
--- a/drivers/ata/libata-eh.c
+++ b/drivers/ata/libata-eh.c
@@ -2104,7 +2104,8 @@ static int ata_eh_revalidate_and_attach(struct ata_link *link,
2104 } 2104 }
2105 2105
2106 ata_eh_about_to_do(link, dev, ATA_EH_REVALIDATE); 2106 ata_eh_about_to_do(link, dev, ATA_EH_REVALIDATE);
2107 rc = ata_dev_revalidate(dev, readid_flags); 2107 rc = ata_dev_revalidate(dev, ehc->classes[dev->devno],
2108 readid_flags);
2108 if (rc) 2109 if (rc)
2109 goto err; 2110 goto err;
2110 2111