projects
/
oweals
/
openwrt.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a2c17f1
)
broadcom-diag: reset the interrupt mask of configured leds to avoid spurious interrupts
author
Felix Fietkau
<nbd@openwrt.org>
Thu, 31 Jul 2008 01:33:14 +0000
(
01:33
+0000)
committer
Felix Fietkau
<nbd@openwrt.org>
Thu, 31 Jul 2008 01:33:14 +0000
(
01:33
+0000)
SVN-Revision: 12030
package/broadcom-diag/src/diag.c
patch
|
blob
|
history
diff --git
a/package/broadcom-diag/src/diag.c
b/package/broadcom-diag/src/diag.c
index 8f2a0c1705935d6944a2f30b74d3be8dd0da576c..cde681a0f2e3744fbe22a7d113f50ad895322a7e 100644
(file)
--- a/
package/broadcom-diag/src/diag.c
+++ b/
package/broadcom-diag/src/diag.c
@@
-1087,6
+1087,7
@@
static void register_leds(struct led_t *l)
gpio_outen(mask, oe_mask);
gpio_control(mask, 0);
gpio_out(mask, val);
+ gpio_intmask(mask, 0);
}
static void unregister_leds(struct led_t *l)