Fix typo in broadcom-diag LED output enable
SVN-Revision: 11125
This commit is contained in:
@@ -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;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user