[libata] irq-pio: fix breakage related to err_mask merge

This commit is contained in:
Jeff Garzik 2005-12-06 05:01:27 -05:00
parent 701db69d66
commit 278efe9509
2 changed files with 3 additions and 2 deletions

View File

@ -4336,7 +4336,8 @@ fsm_start:
ap->id, status, host_stat);
ap->hsm_task_state = HSM_ST_IDLE;
ata_qc_complete(qc, status | ATA_ERR);
qc->err_mask |= __ac_err_mask(status);
ata_qc_complete(qc);
break;
default:
goto idle_irq;

View File

@ -1244,7 +1244,7 @@ static void mv_host_intr(struct ata_host_set *host_set, u32 relevant,
/* mark qc status appropriately */
if (!(qc->tf.flags & ATA_TFLAG_POLLING)) {
qc->err_mask |= err_mask;
ata_qc_complete(qc, err_mask);
ata_qc_complete(qc);
}
}
}