clamp the DMA irq coalesc value to evade race

unsuccessfully
parent 583328e6
......@@ -532,6 +532,7 @@ static void ft_dma_irq_coalescing_timeout_set(struct fmctdc_dev *ft,
uint32_t base, tmp;
int i;
timeout = 10; /* FIXME: try to avoid DMA race */
for (i = (chan == -1 ? 0 : chan);
i < (chan == -1 ? ft->zdev->n_cset : chan + 1);
++i) {
......
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