platform/x86: intel_int0002_vgpio: Remove IRQF_NO_THREAD irq flag
authorHans de Goede <hdegoede@redhat.com>
Wed, 22 Nov 2017 15:50:33 +0000 (16:50 +0100)
committerAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Mon, 27 Nov 2017 11:39:11 +0000 (13:39 +0200)
Remove the IRQF_NO_THREAD irq flag, there is no need for it and it breaks
irq-sharing with the "acpi" irq when passing "threadirqs" on the kernel
cmdline, as the acpi/osl.c code does not pass IRQF_NO_THREAD.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Reported-by: Oleksandr Natalenko <oleksandr@natalenko.name>
Tested-by: Oleksandr Natalenko <oleksandr@natalenko.name>
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
drivers/platform/x86/intel_int0002_vgpio.c

index f7b67e8..a473dc5 100644 (file)
@@ -180,7 +180,7 @@ static int int0002_probe(struct platform_device *pdev)
         * to gpiochip_set_chained_irqchip, because the irq is shared.
         */
        ret = devm_request_irq(dev, irq, int0002_irq,
-                              IRQF_SHARED | IRQF_NO_THREAD, "INT0002", chip);
+                              IRQF_SHARED, "INT0002", chip);
        if (ret) {
                dev_err(dev, "Error requesting IRQ %d: %d\n", irq, ret);
                return ret;