From 4a91835511c5ed10f6dab829697b1be6268fa638 Mon Sep 17 00:00:00 2001 From: nbd Date: Thu, 31 Jul 2008 01:33:14 +0000 Subject: broadcom-diag: reset the interrupt mask of configured leds to avoid spurious interrupts git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12030 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- package/broadcom-diag/src/diag.c | 1 + 1 file changed, 1 insertion(+) (limited to 'package') diff --git a/package/broadcom-diag/src/diag.c b/package/broadcom-diag/src/diag.c index 8f2a0c170..cde681a0f 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) -- cgit v1.2.3