projects
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
awx: improve memory allocation handling
[openwrt.git]
/
package
/
broadcom-diag
/
src
/
gpio.h
diff --git
a/package/broadcom-diag/src/gpio.h
b/package/broadcom-diag/src/gpio.h
index
982cadd
..
16f6ca4
100644
(file)
--- a/
package/broadcom-diag/src/gpio.h
+++ b/
package/broadcom-diag/src/gpio.h
@@
-68,7
+68,8
@@
static void gpio_set_irqenable(int enabled, irqreturn_t (*handler)(int, void *,
else
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
This page took
0.022846 seconds
and
4
git commands to generate.