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
1 changed files with 1 additions and 0 deletions
|
@ -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 a new issue