summaryrefslogtreecommitdiffstats
path: root/drivers/video/backlight/ili9320.h
diff options
context:
space:
mode:
authorUwe Kleine-König <u.kleine-koenig@pengutronix.de>2021-06-21 14:21:48 +0200
committerLee Jones <lee.jones@linaro.org>2021-06-22 15:11:37 +0200
commit1181f2164135d770bdad297290b73d274787389b (patch)
tree134fa16640e815f05d3fd83be8be8a027f6ea9f8 /drivers/video/backlight/ili9320.h
parentbacklight: lm3630a: Fix return code of .update_status() callback (diff)
downloadlinux-1181f2164135d770bdad297290b73d274787389b.tar.xz
linux-1181f2164135d770bdad297290b73d274787389b.zip
backlight: lm3630a: Convert to atomic PWM API and check for errors
The practical upside here is that this only needs a single API call to program the hardware which (depending on the underlaying hardware) can be more effective and prevents glitches. Up to now the return value of the pwm functions was ignored. Fix this and propagate the error to the caller. Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de> Reviewed-by: Daniel Thompson <daniel.thompson@linaro.org> Signed-off-by: Lee Jones <lee.jones@linaro.org>
Diffstat (limited to 'drivers/video/backlight/ili9320.h')
0 files changed, 0 insertions, 0 deletions