linux-stable/drivers/video
Uwe Kleine-König 22ecd1ef4f backlight: lm3630a: Fix return code of .update_status() callback
[ Upstream commit b9481a667a ]

According to <linux/backlight.h> .update_status() is supposed to
return 0 on success and a negative error code otherwise. Adapt
lm3630a_bank_a_update_status() and lm3630a_bank_b_update_status() to
actually do it.

While touching that also add the error code to the failure message.

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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2021-07-20 16:16:10 +02:00
..
backlight backlight: lm3630a: Fix return code of .update_status() callback 2021-07-20 16:16:10 +02:00
console vt: Fix character height handling with VT_RESIZEX 2021-05-26 11:48:35 +02:00
fbdev video: hgafb: correctly handle card detect failure during probe 2021-05-26 11:48:35 +02:00
logo
display_timing.c
hdmi.c video/hdmi: Fix AVI bar unpack 2019-12-17 20:35:17 +01:00
Kconfig
Makefile
of_display_timing.c
of_videomode.c
vgastate.c
videomode.c