aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/ata/pata_ep93xx.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/drivers/ata/pata_ep93xx.c b/drivers/ata/pata_ep93xx.c
index e056406d6a11..3982cef91f3c 100644
--- a/drivers/ata/pata_ep93xx.c
+++ b/drivers/ata/pata_ep93xx.c
@@ -822,8 +822,7 @@ static int ep93xx_pata_softreset(struct ata_link *al, unsigned int *classes,
822 rc = ep93xx_pata_bus_softreset(ap, devmask, deadline); 822 rc = ep93xx_pata_bus_softreset(ap, devmask, deadline);
823 /* if link is ocuppied, -ENODEV too is an error */ 823 /* if link is ocuppied, -ENODEV too is an error */
824 if (rc && (rc != -ENODEV || sata_scr_valid(al))) { 824 if (rc && (rc != -ENODEV || sata_scr_valid(al))) {
825 ata_link_printk(al, KERN_ERR, "SRST failed (errno=%d)\n", 825 ata_link_err(al, "SRST failed (errno=%d)\n", rc);
826 rc);
827 return rc; 826 return rc;
828 } 827 }
829 828
@@ -857,8 +856,7 @@ static void ep93xx_pata_drain_fifo(struct ata_queued_cmd *qc)
857 856
858 /* Can become DEBUG later */ 857 /* Can become DEBUG later */
859 if (count) 858 if (count)
860 ata_port_printk(ap, KERN_DEBUG, 859 ata_port_dbg(ap, "drained %d bytes to clear DRQ.\n", count);
861 "drained %d bytes to clear DRQ.\n", count);
862 860
863} 861}
864 862