From 1081dbcb41f1e9e282cae39c96268fb668aec1ec Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Thu, 31 Jul 2008 01:33:14 +0000 Subject: [PATCH] broadcom-diag: reset the interrupt mask of configured leds to avoid spurious interrupts SVN-Revision: 12030 --- package/broadcom-diag/src/diag.c | 1 + 1 file changed, 1 insertion(+) 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) -- 2.34.1