From: Felix Fietkau Date: Thu, 31 Jul 2008 01:33:14 +0000 (+0000) Subject: broadcom-diag: reset the interrupt mask of configured leds to avoid spurious interrupts X-Git-Tag: reboot~25957 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=1081dbcb41f1e9e282cae39c96268fb668aec1ec;p=oweals%2Fopenwrt.git broadcom-diag: reset the interrupt mask of configured leds to avoid spurious interrupts SVN-Revision: 12030 --- 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)