commit | 2b7f1b8c8f4a8991dfeefc31844e15c642b6de2a | [log] [tgz] |
---|---|---|
author | Raphael Assenat <raph@8d.com> | Sun Jan 13 22:55:18 2008 +0000 |
committer | Richard Purdie <rpurdie@rpsys.net> | Thu Feb 07 09:52:02 2008 +0000 |
tree | ac6a11ae2960b695ac1241888216b04646992440 | |
parent | 92e015cb31c0a312bf2e0e5b96aef76a8c57e645 [diff] |
leds: Fix led-gpio active_low default brightness When gpio_direction_output() is called, led_dat->active_low is used as default value. This means that the led will always be off by default. cdev.brightness should really have been set to LED_OFF unconditionally to reflect this behavior. Signed-off-by: Raphael Assenat <raph@8d.com> Signed-off-by: Richard Purdie <rpurdie@rpsys.net>