aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/Perf-Trace-Util/lib/Perf
diff options
context:
space:
mode:
authorAndrey Gusakov <[email protected]>2021-09-23 20:22:16 +0300
committerBartosz Golaszewski <[email protected]>2021-09-29 20:40:15 +0200
commit540cffbab8b8e6c52a4121666ca18d6e94586ed2 (patch)
treed571d6022f90aef4d3e54b4e0c7a85b44546258d /tools/perf/scripts/python/Perf-Trace-Util/lib/Perf
parent5816b3e6577eaa676ceb00a848f0fd65fe2adc29 (diff)
gpio: pca953x: do not ignore i2c errors
Per gpio_chip interface, error shall be proparated to the caller. Attempt to silent diagnostics by returning zero (as written in the comment) is plain wrong, because the zero return can be interpreted by the caller as the gpio value. Cc: [email protected] Signed-off-by: Andrey Gusakov <[email protected]> Signed-off-by: Nikita Yushchenko <[email protected]> Signed-off-by: Bartosz Golaszewski <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/lib/Perf')
0 files changed, 0 insertions, 0 deletions