Commit 507b8315 authored by Federico Vaga's avatar Federico Vaga

kernel: fix auto-start on PCI

on PCI after DMA END interrupt we must check if we are in auto-start mode
Signed-off-by: Federico Vaga's avatarFederico Vaga <federico.vaga@cern.ch>
parent bb12d4be
......@@ -289,6 +289,7 @@ static void fa_irq_work(struct work_struct *work)
cset->flags &= ~ZIO_CSET_HW_BUSY;
spin_unlock(&cset->lock);
end:
if (res) {
/* Stop acquisition on error */
zfad_dma_error(cset);
......@@ -298,7 +299,6 @@ static void fa_irq_work(struct work_struct *work)
zfad_fsm_command(fa, FA100M14B4C_CMD_START);
}
end:
/* ack the irq */
fa->fmc->op->irq_ack(fa->fmc);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment