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
1 changed files with 1 additions and 1 deletions

View File

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