Fix typo in broadcom-diag LED output enable

SVN-Revision: 11125
This commit is contained in:
Peter Denison 2008-05-12 19:46:53 +00:00
parent b64c4c6b40
commit 06c7c04288

View file

@ -990,7 +990,7 @@ static void register_leds(struct led_t *l)
l->state = 0; l->state = 0;
set_led_extif(l); set_led_extif(l);
} else { } else {
if (l->polarity != INPUT) oe_mask != l->gpio; if (l->polarity != INPUT) oe_mask |= l->gpio;
mask |= l->gpio; mask |= l->gpio;
val |= (l->polarity == NORMAL)?0:l->gpio; val |= (l->polarity == NORMAL)?0:l->gpio;
} }