]> git.itanic.dy.fi Git - linux-stable/commit
can: at91_can: at91_chip_start(): don't disable IRQs twice
authorMarc Kleine-Budde <mkl@pengutronix.de>
Mon, 1 May 2023 16:14:41 +0000 (18:14 +0200)
committerMarc Kleine-Budde <mkl@pengutronix.de>
Thu, 5 Oct 2023 19:46:33 +0000 (21:46 +0200)
commit8227088cb3c2afb58a45a946d92f6bf93d04d6de
tree2f88e74fbe11f5d86449b4f66f0a23bf99fa99dc
parentccd7cd07051fbd50bbbc6a55547d965c3392f318
can: at91_can: at91_chip_start(): don't disable IRQs twice

In at91_chip_start() first all IRQs are disabled, they do not have to
be disabled again at the end of the function before the requested IRQs
are enabled.

Remove the 2nd disable of all IRQs at the end of the function.

Link: https://lore.kernel.org/all/20231005-at91_can-rx_offload-v2-14-9987d53600e0@pengutronix.de
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
drivers/net/can/at91_can.c