]> 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>
Wed, 24 May 2023 16:32:50 +0000 (17:32 +0100)
commitd8a533f3b78793ef5904ac103752e9407423b291
tree863da5f2c1c69056327bfbe6d199df12b1d2ffe3
parent06e08c74b46b8a0bbd54310e822f1336d7e1cfa9
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