diff options
Diffstat (limited to 'drivers/ata/sata_sil24.c')
-rw-r--r-- | drivers/ata/sata_sil24.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/drivers/ata/sata_sil24.c b/drivers/ata/sata_sil24.c index 6698c746e624..4f522ec04049 100644 --- a/drivers/ata/sata_sil24.c +++ b/drivers/ata/sata_sil24.c | |||
@@ -924,11 +924,8 @@ static void sil24_post_internal_cmd(struct ata_queued_cmd *qc) | |||
924 | { | 924 | { |
925 | struct ata_port *ap = qc->ap; | 925 | struct ata_port *ap = qc->ap; |
926 | 926 | ||
927 | if (qc->flags & ATA_QCFLAG_FAILED) | ||
928 | qc->err_mask |= AC_ERR_OTHER; | ||
929 | |||
930 | /* make DMA engine forget about the failed command */ | 927 | /* make DMA engine forget about the failed command */ |
931 | if (qc->err_mask) | 928 | if (qc->flags & ATA_QCFLAG_FAILED) |
932 | sil24_init_port(ap); | 929 | sil24_init_port(ap); |
933 | } | 930 | } |
934 | 931 | ||