Commit 85368f14 authored by Federico Vaga's avatar Federico Vaga

kernel: add comment to explain interrupt

Explain why the handler doesn't clear the interrupt in EIC_ISR even if
the documentation regarding this register is saying something different.
Signed-off-by: Federico Vaga's avatarFederico Vaga <federico.vaga@cern.ch>
parent fcbce05c
......@@ -258,6 +258,12 @@ static void fd_tlet(unsigned long arg)
}
}
/*
* fd_irq_handler
* NOTE: TS_BUF_NOTEMPTY interrupt is level sensitive, it is cleared when
* you read the whole fifo buffer. It is useless to clear the interrupt
* in EIC_ISR
*/
irqreturn_t fd_irq_handler(int irq, void *dev_id)
{
struct fmc_device *fmc = dev_id;
......
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