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 ba461f094b
("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>
This commit is contained in:
parent
57f889471c
commit
6c3082151e
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue