mirror of
https://github.com/openwrt/openwrt.git
synced 2025-01-11 15:33:03 +00:00
broadcom-diag: reset the interrupt mask of configured leds to avoid spurious interrupts
SVN-Revision: 12030
This commit is contained in:
parent
a2c17f1bc5
commit
1081dbcb41
@ -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)
|
||||||
|
Loading…
Reference in New Issue
Block a user