]> git.baikalelectronics.ru Git - kernel.git/commit
can: kvaser_pciefd: Call request_irq() before enabling interrupts
authorJimmy Assarsson <extja@kvaser.com>
Tue, 16 May 2023 13:43:15 +0000 (15:43 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 30 May 2023 11:44:06 +0000 (12:44 +0100)
commit246db4a7fb65e09d29a8d0f5dc84b31011658919
tree55f6a4bfdff91ceaeb0e2a1994896746ad2d3565
parentf8276b6893fd08eed6d7f0418bef3c9f10467619
can: kvaser_pciefd: Call request_irq() before enabling interrupts

commit 84762d8da89d29ba842317eb842973e628c27391 upstream.

Make sure the interrupt handler is registered before enabling interrupts.

Fixes: ea3f54dd9351 ("can: kvaser_pciefd: Add driver for Kvaser PCIEcan devices")
Cc: stable@vger.kernel.org
Signed-off-by: Jimmy Assarsson <extja@kvaser.com>
Link: https://lore.kernel.org/r/20230516134318.104279-4-extja@kvaser.com
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/net/can/kvaser_pciefd.c