broadcom-diag: reset the interrupt mask of configured leds to avoid spurious interrupts

SVN-Revision: 12030
This commit is contained in:
Felix Fietkau 2008-07-31 01:33:14 +00:00
parent a2c17f1bc5
commit 1081dbcb41

View File

@ -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)