summaryrefslogtreecommitdiff
path: root/tools/nfsd
diff options
context:
space:
mode:
authorMarkus Hofstaetter <markus.hofstaetter@ait.ac.at>2015-11-11 11:40:29 (GMT)
committerJacek Anaszewski <j.anaszewski@samsung.com>2016-01-04 08:57:36 (GMT)
commitf16703360da7731a057df2ffa902306819c22398 (patch)
treebad958970dbfa9c83d2f079304efd8822ffed893 /tools/nfsd
parentfb65ee94ee3ae8fde4922262f73dddea2172e3ef (diff)
downloadlinux-f16703360da7731a057df2ffa902306819c22398.tar.xz
leds: call led_pwm_set() in leds-pwm to enforce default LED_OFF
Some PWMs are disabled by default or the default pin setting does not match the LED_OFF state (e.g., active-low leds). Hence, the driver may end up reporting 0 brightness, but the leds are actually on using full brightness, because it never enforces its default configuration. So enforce it by calling led_pwm_set() after successfully registering the device. Tested on a Phytec phyFLEX i.MX6Q board based on kernel v3.19.5. Signed-off-by: Markus Hofstaetter <markus.hofstaetter@ait.ac.at> Tested-by: Markus Hofstaetter <markus.hofstaetter@ait.ac.at> Signed-off-by: Jacek Anaszewski <j.anaszewski@samsung.com>
Diffstat (limited to 'tools/nfsd')
0 files changed, 0 insertions, 0 deletions