can: kvaser_pciefd: Move reset of DMA RX buffers to the end of the ISR
authorMartin Jocic <martin.jocic@kvaser.com>
Thu, 20 Jun 2024 18:13:19 +0000 (20:13 +0200)
committerMarc Kleine-Budde <mkl@pengutronix.de>
Fri, 21 Jun 2024 07:46:00 +0000 (09:46 +0200)
commit48f827d4f48f5243e37b9240029ce3f456d1f490
tree0e3026166d122ec20a3b7ae262baccb57e38808b
parent024452fd824af718c4f8999d6aa0775eb8d08128
can: kvaser_pciefd: Move reset of DMA RX buffers to the end of the ISR

A new interrupt is triggered by resetting the DMA RX buffers.
Since MSI interrupts are faster than legacy interrupts, the reset
of the DMA buffers must be moved to the very end of the ISR,
otherwise a new MSI interrupt will be masked by the current one.

Signed-off-by: Martin Jocic <martin.jocic@kvaser.com>
Link: https://lore.kernel.org/all/20240620181320.235465-2-martin.jocic@kvaser.com
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
drivers/net/can/kvaser_pciefd.c