[PATCH master] video: backlight: make brightness and slew time parameters unsigned

Sascha Hauer s.hauer at pengutronix.de
Mon Jul 1 02:57:50 PDT 2024


On Mon, 01 Jul 2024 09:27:14 +0200, Ahmad Fatoum wrote:
> Despite the backlight parameter being registered as uint32,
> backlight_brightness_set took the brightness level as a signed value.
> 
> This can lead to wrap around for very large values of brightness
> supplied as device parameter and if this results in a negative
> brightness, the function appears to hang, because the slew rate loop
> runs for a long time.
> 
> [...]

Applied, thanks!

[1/1] video: backlight: make brightness and slew time parameters unsigned
      https://git.pengutronix.de/cgit/barebox/commit/?id=7b4c629a16ae (link may not be stable)

Best regards,
-- 
Sascha Hauer <s.hauer at pengutronix.de>




More information about the barebox mailing list