Searched hist:f1ac3c9825f99c93a9833beee6b78aa386e55b0b (Results 1 – 1 of 1) sorted by relevance
/linux/drivers/video/backlight/ |
H A D | ktz8866.c | diff f1ac3c9825f99c93a9833beee6b78aa386e55b0b Mon Jan 29 13:28:29 CET 2024 Jianhua Lu <lujianhua000@gmail.com> backlight: ktz8866: Correct the check for of_property_read_u32
of_property_read_u32 returns 0 when success, so reverse the return value to get the true value.
Fixes: f8449c8f7355 ("backlight: ktz8866: Add support for Kinetic KTZ8866 backlight") Signed-off-by: Jianhua Lu <lujianhua000@gmail.com> Reviewed-by: Daniel Thompson <daniel.thompson@linaro.org> Link: https://lore.kernel.org/r/20240129122829.16248-1-lujianhua000@gmail.com Signed-off-by: Lee Jones <lee@kernel.org>
|