led: pwm: always initialize PWM LEDs as inactive
While the active-low property is respected when setting brightness,
it's ignored when initializing the LED as off in the probe function
and thus LEDs are active on startup. Fix this.

Fixes: 769eb5e7bb ("led: pwm: support active-low property")
Signed-off-by: Ahmad Fatoum <ahmad@a3f.at>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
1 parent 6c42b62 commit 260327c81527f71fc8f7760accb791e199564593
@Ahmad Fatoum Ahmad Fatoum authored on 30 Mar 2020
Sascha Hauer committed on 31 Mar 2020
Showing 1 changed file
View
drivers/led/led-pwm.c