mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2025-01-26 02:41:07 +02:00
fix gpio interrupts on broadcom (thanks, jpcass)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7090 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
b95c73db7f
commit
d5e01e3fd2
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user