|
@@ -1542,7 +1542,7 @@ static void mv_err_intr(struct ata_port *ap, struct ata_queued_cmd *qc)
|
|
|
eh_freeze_mask = EDMA_EH_FREEZE_5;
|
|
|
|
|
|
if (edma_err_cause & EDMA_ERR_SELF_DIS_5) {
|
|
|
- struct mv_port_priv *pp = ap->private_data;
|
|
|
+ pp = ap->private_data;
|
|
|
pp->pp_flags &= ~MV_PP_FLAG_EDMA_EN;
|
|
|
ata_ehi_push_desc(ehi, "EDMA self-disable");
|
|
|
}
|
|
@@ -1550,7 +1550,7 @@ static void mv_err_intr(struct ata_port *ap, struct ata_queued_cmd *qc)
|
|
|
eh_freeze_mask = EDMA_EH_FREEZE;
|
|
|
|
|
|
if (edma_err_cause & EDMA_ERR_SELF_DIS) {
|
|
|
- struct mv_port_priv *pp = ap->private_data;
|
|
|
+ pp = ap->private_data;
|
|
|
pp->pp_flags &= ~MV_PP_FLAG_EDMA_EN;
|
|
|
ata_ehi_push_desc(ehi, "EDMA self-disable");
|
|
|
}
|