aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/ata/sata_inic162x.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/ata/sata_inic162x.c')
-rw-r--r--drivers/ata/sata_inic162x.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/ata/sata_inic162x.c b/drivers/ata/sata_inic162x.c
index 3c0ef7a2f2fe..f2b1bea934bc 100644
--- a/drivers/ata/sata_inic162x.c
+++ b/drivers/ata/sata_inic162x.c
@@ -435,7 +435,7 @@ static int inic_hardreset(struct ata_port *ap, unsigned int *class,
435 msleep(1); 435 msleep(1);
436 writew(val & ~IDMA_CTL_RST_ATA, idma_ctl); 436 writew(val & ~IDMA_CTL_RST_ATA, idma_ctl);
437 437
438 rc = sata_phy_resume(ap, timing, deadline); 438 rc = sata_link_resume(&ap->link, timing, deadline);
439 if (rc) { 439 if (rc) {
440 ata_port_printk(ap, KERN_WARNING, "failed to resume " 440 ata_port_printk(ap, KERN_WARNING, "failed to resume "
441 "link after reset (errno=%d)\n", rc); 441 "link after reset (errno=%d)\n", rc);
@@ -443,7 +443,7 @@ static int inic_hardreset(struct ata_port *ap, unsigned int *class,
443 } 443 }
444 444
445 *class = ATA_DEV_NONE; 445 *class = ATA_DEV_NONE;
446 if (ata_port_online(ap)) { 446 if (ata_link_online(&ap->link)) {
447 struct ata_taskfile tf; 447 struct ata_taskfile tf;
448 448
449 /* wait a while before checking status */ 449 /* wait a while before checking status */