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 <>
1 job for 279-driver-debug in 44 seconds (queued for 49 seconds)
Status Job ID Name Coverage
passed #31647