fix gpio interrupts on broadcom (thanks, jpcass)

SVN-Revision: 7090
This commit is contained in:
Felix Fietkau 2007-05-04 17:35:58 +00:00
parent e22255fceb
commit a1206669e8
1 changed files with 2 additions and 1 deletions

View File

@ -68,7 +68,8 @@ static void gpio_set_irqenable(int enabled, irqreturn_t (*handler)(int, void *,
else else
free_irq(irq, handler); free_irq(irq, handler);
gpio_intmask(1, (enabled ? 1 : 0)); if (ssb.chipco.dev)
ssb_write32_masked(ssb.chipco.dev, SSB_CHIPCO_IRQMASK, SSB_CHIPCO_IRQ_GPIO, (enabled ? SSB_CHIPCO_IRQ_GPIO : 0));
} }
#else #else