Commit 43d63e20 authored by Vaibhav Gupta's avatar Vaibhav Gupta

software: kernel: fifo: Use IRQF_ONESHOT flag

The system will get interrupts for every TS, but the IRQ thread of
previous interrupt would have already acknowledged the TS from fifo.
Thus, keep the interrupt disabled untill the thread is finished.
Signed-off-by: 's avatarVaibhav Gupta <vaibhav.gupta@cern.ch>
parent 4f4c7495
......@@ -162,7 +162,7 @@ int ft_fifo_init(struct fmctdc_dev *ft)
ft_irq_coalescing_size_set(ft, -1, 40);
r = platform_get_resource(ft->pdev, IORESOURCE_IRQ, TDC_IRQ);
ret = request_any_context_irq(r->start, ft_irq_handler_ts_fifo, 0,
ret = request_any_context_irq(r->start, ft_irq_handler_ts_fifo, IRQF_ONESHOT,
r->name, ft);
if (ret < 0) {
dev_err(&ft->pdev->dev,
......
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