aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/mem-phys-addr.py
diff options
context:
space:
mode:
authorArtur Weber <[email protected]>2023-07-14 12:14:40 +0000
committerLee Jones <[email protected]>2023-07-28 09:22:38 +0000
commit5145531be5fbad0e914d1dc1cbd392d7b756abaa (patch)
treee30934ed1f8e48514b0ec41de9eb9d365cf28f60 /tools/perf/scripts/python/mem-phys-addr.py
parentbacklight: lp855x: Initialize PWM state on first brightness change (diff)
downloadkernel-5145531be5fbad0e914d1dc1cbd392d7b756abaa.tar.gz
kernel-5145531be5fbad0e914d1dc1cbd392d7b756abaa.zip
backlight: lp855x: Catch errors when changing brightness
The lp855x_bl_update_status function's return type is int, but it always returns 0, without checking for the results of the write_byte/pwm_ctrl functions called within. Make this function return the return values of the functions it calls, and modify the lp855x_pwm_ctrl function to return errors. Signed-off-by: Artur Weber <[email protected]> Reviewed-by: Daniel Thompson <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Lee Jones <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/mem-phys-addr.py')
0 files changed, 0 insertions, 0 deletions