[PATCH] backlight: ktz8866: Correct the check for of_property_read_u32
Daniel Thompson
daniel.thompson at linaro.org
Wed Jan 31 14:34:02 UTC 2024
On Mon, Jan 29, 2024 at 08:28:29PM +0800, Jianhua Lu wrote:
> 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 at gmail.com>
Reviewed-by: Daniel Thompson <daniel.thompson at linaro.org>
Daniel.
More information about the dri-devel
mailing list