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_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