diff options
author | 2024-01-29 20:28:29 +0800 | |
---|---|---|
committer | 2024-03-07 09:03:28 +0000 | |
commit | f1ac3c9825f99c93a9833beee6b78aa386e55b0b (patch) | |
tree | 030ea2bdbadb34965242f560f1f2188310f99132 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | backlight: hx8357: Fix potential NULL pointer dereference (diff) | |
download | wireguard-linux-f1ac3c9825f99c93a9833beee6b78aa386e55b0b.tar.xz wireguard-linux-f1ac3c9825f99c93a9833beee6b78aa386e55b0b.zip |
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>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions