1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-11-23 23:46:16 +02:00

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
This commit is contained in:
nbd 2008-07-31 01:33:14 +00:00
parent 36b9971821
commit 4a91835511

View File

@ -1087,6 +1087,7 @@ static void register_leds(struct led_t *l)
gpio_outen(mask, oe_mask); gpio_outen(mask, oe_mask);
gpio_control(mask, 0); gpio_control(mask, 0);
gpio_out(mask, val); gpio_out(mask, val);
gpio_intmask(mask, 0);
} }
static void unregister_leds(struct led_t *l) static void unregister_leds(struct led_t *l)