Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 6c308215 authored by John Ogness's avatar John Ogness Committed by Michael Ellerman
Browse files

powerpc/powermac: IRQF_NO_SUSPEND not IRQF_TIMER for non-timer



Since gpio1 is not a timer, it also should not use IRQF_TIMER.

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

Signed-off-by: default avatarJohn Ogness <john.ogness@linutronix.de>
Signed-off-by: default avatarMichael Ellerman <mpe@ellerman.id.au>
parent 57f88947
Loading
Loading
Loading
Loading
+3 −2
Original line number Diff line number Diff line
@@ -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