summaryrefslogtreecommitdiffstats
path: root/drivers/video/backlight/lm3533_bl.c
diff options
context:
space:
mode:
authorPhilipp Zabel <p.zabel@pengutronix.de>2015-11-18 18:12:25 +0100
committerLee Jones <lee.jones@linaro.org>2016-01-11 05:56:22 +0000
commit3698d7e7d221a5c90d4b55e96d0c8f98a8b4d7df (patch)
tree02e7318028090532d74ba09bda5c353a0f3f3238 /drivers/video/backlight/lm3533_bl.c
parent86c68e2fb3eeb87ef716a0d61c5a346e9aee2ecb (diff)
downloadlinux-3698d7e7d221a5c90d4b55e96d0c8f98a8b4d7df.tar.gz
linux-3698d7e7d221a5c90d4b55e96d0c8f98a8b4d7df.tar.bz2
linux-3698d7e7d221a5c90d4b55e96d0c8f98a8b4d7df.zip
backlight: pwm_bl: Avoid backlight flicker when probed from DT
If the driver is probed from the device tree, and there is a phandle property set on it, and the enable GPIO is already configured as output, and the backlight is currently disabled, keep it disabled. If all these conditions are met, assume there will be some other driver that can enable the backlight at the appropriate time. Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de> Reviewed-by: Christian Gmeiner <christian.gmeiner@gmail.com> Tested-by: Heiko Stuebner <heiko@sntech.de> Signed-off-by: Lee Jones <lee.jones@linaro.org>
Diffstat (limited to 'drivers/video/backlight/lm3533_bl.c')
0 files changed, 0 insertions, 0 deletions