]> git.baikalelectronics.ru Git - kernel.git/commit
gpiolib: acpi: Add missing IRQF_ONESHOT
authorYang Li <yang.lee@linux.alibaba.com>
Tue, 23 Feb 2021 08:35:58 +0000 (16:35 +0800)
committerBartosz Golaszewski <bgolaszewski@baylibre.com>
Mon, 8 Mar 2021 10:59:17 +0000 (11:59 +0100)
commit5c95a16ff74ea8c95e97a9cf2a76f950eb34efd4
treed84a7bcf3957d90f2070bbba0adf2a8a6ca518e2
parentf0b970f94485291407561feda2ba39db6d07edab
gpiolib: acpi: Add missing IRQF_ONESHOT

fixed the following coccicheck:
./drivers/gpio/gpiolib-acpi.c:176:7-27: ERROR: Threaded IRQ with no
primary handler requested without IRQF_ONESHOT

Make sure threaded IRQs without a primary handler are always request
with IRQF_ONESHOT

Reported-by: Abaci Robot <abaci@linux.alibaba.com>
Signed-off-by: Yang Li <yang.lee@linux.alibaba.com>
Acked-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
drivers/gpio/gpiolib-acpi.c