]> git.dujemihanovic.xyz Git - linux.git/commit
net: ieee802154: mcr20a: Use IRQF_NO_AUTOEN flag in request_irq()
authorJinjie Ruan <ruanjinjie@huawei.com>
Wed, 11 Sep 2024 09:42:34 +0000 (17:42 +0800)
committerStefan Schmidt <stefan@datenfreihafen.org>
Fri, 27 Sep 2024 08:47:53 +0000 (10:47 +0200)
commit09573b1cc76e7ff8f056ab29ea1cdc152ec8c653
tree45ad86897526cf91826f2eef9c0e73eed4d2d29a
parentbff1709b3980bd7f80be6786f64cc9a9ee9e56da
net: ieee802154: mcr20a: Use IRQF_NO_AUTOEN flag in request_irq()

disable_irq() after request_irq() still has a time gap in which
interrupts can come. request_irq() with IRQF_NO_AUTOEN flag will
disable IRQ auto-enable when request IRQ.

Fixes: 8c6ad9cc5157 ("ieee802154: Add NXP MCR20A IEEE 802.15.4 transceiver driver")
Reviewed-by: Miquel Raynal <miquel.raynal@bootlin.com>
Signed-off-by: Jinjie Ruan <ruanjinjie@huawei.com>
Link: https://lore.kernel.org/20240911094234.1922418-1-ruanjinjie@huawei.com
Signed-off-by: Stefan Schmidt <stefan@datenfreihafen.org>
drivers/net/ieee802154/mcr20a.c