mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-11-23 23:32:49 +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:
parent
36b9971821
commit
4a91835511
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user