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-Url: http://git.lede-project.org./?a=commitdiff_plain;h=1081dbcb41f1e9e282cae39c96268fb668aec1ec;p=openwrt%2Fstaging%2Fsvanheule.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)