Commit b5849857 authored by Pavel Pisa's avatar Pavel Pisa

driver: do not exceed quota in ctucan_rx_poll and suppress excessive Rx irq.

The RXBNEI has to be masked the first before interrupt is cleared
because source is level triggered and would cause interrupt
flip-flop to be set again before masking in next step.

Correct receive loop to respect quota value.
Signed-off-by: Pavel Pisa's avatarPavel Pisa <pisa@cmp.felk.cvut.cz>
parent 5d070a12
Pipeline #6989 passed with stage
in 44 seconds