aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/ata/libata-core.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/ata/libata-core.c b/drivers/ata/libata-core.c
index b458639b4735..0978b2feef99 100644
--- a/drivers/ata/libata-core.c
+++ b/drivers/ata/libata-core.c
@@ -3267,7 +3267,7 @@ static int ata_bus_softreset(struct ata_port *ap, unsigned int devmask,
3267 * the bus shows 0xFF because the odd clown forgets the D7 3267 * the bus shows 0xFF because the odd clown forgets the D7
3268 * pulldown resistor. 3268 * pulldown resistor.
3269 */ 3269 */
3270 if (ata_check_status(ap) == 0xFF) 3270 if (ata_chk_status(ap) == 0xFF)
3271 return -ENODEV; 3271 return -ENODEV;
3272 3272
3273 return ata_bus_post_reset(ap, devmask, deadline); 3273 return ata_bus_post_reset(ap, devmask, deadline);