diff options
author | Felix Fietkau <nbd@openwrt.org> | 2008-07-31 01:33:14 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2008-07-31 01:33:14 +0000 |
commit | 1081dbcb41f1e9e282cae39c96268fb668aec1ec (patch) | |
tree | 1b658d1118edf9f0935f52ac2e64ed5e65de1d21 /package/broadcom-diag | |
parent | a2c17f1bc53809a9d9d7dd7ce36c4eda8d1fcd1e (diff) | |
download | upstream-1081dbcb41f1e9e282cae39c96268fb668aec1ec.tar.gz upstream-1081dbcb41f1e9e282cae39c96268fb668aec1ec.tar.bz2 upstream-1081dbcb41f1e9e282cae39c96268fb668aec1ec.zip |
broadcom-diag: reset the interrupt mask of configured leds to avoid spurious interrupts
SVN-Revision: 12030
Diffstat (limited to 'package/broadcom-diag')
-rw-r--r-- | package/broadcom-diag/src/diag.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/package/broadcom-diag/src/diag.c b/package/broadcom-diag/src/diag.c index 8f2a0c1705..cde681a0f2 100644 --- 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) |