diff options
Diffstat (limited to 'drivers/ata/sata_inic162x.c')
-rw-r--r-- | drivers/ata/sata_inic162x.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/ata/sata_inic162x.c b/drivers/ata/sata_inic162x.c index 11c3079ab6cc..ca4092aaae5b 100644 --- a/drivers/ata/sata_inic162x.c +++ b/drivers/ata/sata_inic162x.c | |||
@@ -488,7 +488,7 @@ static void inic_error_handler(struct ata_port *ap) | |||
488 | static void inic_post_internal_cmd(struct ata_queued_cmd *qc) | 488 | static void inic_post_internal_cmd(struct ata_queued_cmd *qc) |
489 | { | 489 | { |
490 | /* make DMA engine forget about the failed command */ | 490 | /* make DMA engine forget about the failed command */ |
491 | if (qc->err_mask) | 491 | if (qc->flags & ATA_QCFLAG_FAILED) |
492 | inic_reset_port(inic_port_base(qc->ap)); | 492 | inic_reset_port(inic_port_base(qc->ap)); |
493 | } | 493 | } |
494 | 494 | ||