Skip to content
Commit 2b7f1b8c authored by Raphael Assenat's avatar Raphael Assenat Committed by Richard Purdie
Browse files

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: default avatarRaphael Assenat <raph@8d.com>
Signed-off-by: default avatarRichard Purdie <rpurdie@rpsys.net>
parent 92e015cb
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment