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

SVN-Revision: 12030
master
Felix Fietkau 17 years ago
parent a2c17f1bc5
commit 1081dbcb41
  1. 1
      package/broadcom-diag/src/diag.c

@ -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…
Cancel
Save