summaryrefslogtreecommitdiff
path: root/include/linux/timer.h
diff options
context:
space:
mode:
authorJinjie Ruan <ruanjinjie@huawei.com>2024-09-10 15:43:14 +0300
committerKalle Valo <kvalo@kernel.org>2024-09-18 16:54:30 +0300
commit5a4d42c1688c88f3be6aef46b0ea6c32694cd2b8 (patch)
tree9831d5c6deff767fdce6f764872742bdcecdae46 /include/linux/timer.h
parent9a98dd48b6d834d7a3fe5e8e7b8c3a1d006f9685 (diff)
downloadlinux-5a4d42c1688c88f3be6aef46b0ea6c32694cd2b8.tar.xz
wifi: wl1251: Use IRQF_NO_AUTOEN flag in request_irq()
As commit cbe16f35bee6 ("genirq: Add IRQF_NO_AUTOEN for request_irq/nmi()") said, the code below is subobtimal. IRQF_NO_AUTOEN flag can be used by drivers to request_irq(). It prevents the automatic enabling of the requested interrupt in the same safe way. With that the usage can be simplified and corrected. irq_set_status_flags(irq, IRQ_NOAUTOEN); request_irq(dev, irq...); Signed-off-by: Jinjie Ruan <ruanjinjie@huawei.com> Signed-off-by: Kalle Valo <kvalo@kernel.org> Link: https://patch.msgid.link/20240910124314.698896-4-ruanjinjie@huawei.com
Diffstat (limited to 'include/linux/timer.h')
0 files changed, 0 insertions, 0 deletions