powerpc/powermac: IRQF_NO_SUSPEND not IRQF_TIMER for non-timer
authorJohn Ogness <john.ogness@linutronix.de>
Wed, 11 Nov 2015 14:15:03 +0000 (15:15 +0100)
committerMichael Ellerman <mpe@ellerman.id.au>
Thu, 26 Nov 2015 11:11:11 +0000 (22:11 +1100)
Since gpio1 is not a timer, it also should not use IRQF_TIMER.

Similar to commit ba461f094bab ("powerpc: Use IRQF_NO_SUSPEND not
IRQF_TIMER for non-timer interrupts").

Signed-off-by: John Ogness <john.ogness@linutronix.de>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
drivers/macintosh/via-pmu.c

index f9512bf..01ee736 100644 (file)
@@ -425,8 +425,9 @@ static int __init via_pmu_start(void)
                        gpio_irq = irq_of_parse_and_map(gpio_node, 0);
 
                if (gpio_irq != NO_IRQ) {
-                       if (request_irq(gpio_irq, gpio1_interrupt, IRQF_TIMER,
-                                       "GPIO1 ADB", (void *)0))
+                       if (request_irq(gpio_irq, gpio1_interrupt,
+                                       IRQF_NO_SUSPEND, "GPIO1 ADB",
+                                       (void *)0))
                                printk(KERN_ERR "pmu: can't get irq %d"
                                       " (GPIO1)\n", gpio_irq);
                        else