summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorAldo Conte <aldocontelk@gmail.com>2026-03-25 12:32:16 +0100
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2026-03-26 08:22:33 +0000
commitd0b224cf9ab12e86a4d1ca55c760dfaa5c19cbe7 (patch)
tree48007ade4f560ace4f0b88b8f8fa3d5dcd82e72f /tools/perf/scripts/python
parent2452969ca1081fea6bd9ab7ad5e168a5d11f28ec (diff)
iio: light: veml6070: fix veml6070_read() return value
veml6070_read() computes the sensor value in ret but returns 0 instead of the actual result. This causes veml6070_read_raw() to always report 0. Return the computed value instead of 0. Running make W=1 returns no errors. I was unable to test the patch because I do not have the hardware. Found by code inspection. Fixes: fc38525135dd ("iio: light: veml6070: use guard to handle mutex") Signed-off-by: Aldo Conte <aldocontelk@gmail.com> Reviewed-by: Nuno Sá <nuno.sa@analog.com> Cc: <Stable@vger.kernel.org> Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions