Commit b5849857 authored by Pavel Pisa's avatar Pavel Pisa
Browse files

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