]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
can: m_can: Keep interrupts enabled during peripheral read
authorMarkus Schneider-Pargmann <msp@baylibre.com>
Wed, 15 Mar 2023 11:05:35 +0000 (12:05 +0100)
committerMarc Kleine-Budde <mkl@pengutronix.de>
Fri, 24 Mar 2023 18:13:54 +0000 (19:13 +0100)
commit9083e0b09df33376abef2bb28e6a4b0c88f4d00b
tree11255b62ddc61a4186efdc88cb9e3e7a7f14150d
parent897e663218e2d05607a6f5b258134cb026a2fa85
can: m_can: Keep interrupts enabled during peripheral read

Interrupts currently get disabled if the interrupt status shows new
received data. Non-peripheral chips handle receiving in a worker thread,
but peripheral chips are handling the receive process in the threaded
interrupt routine itself without scheduling it for a different worker.
So there is no need to disable interrupts for peripheral chips.

Signed-off-by: Markus Schneider-Pargmann <msp@baylibre.com>
Reviewed-by: Simon Horman <simon.horman@corigine.com>
Link: https://lore.kernel.org/all/20230315110546.2518305-6-msp@baylibre.com
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
drivers/net/can/m_can/m_can.c