summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin
diff options
context:
space:
mode:
authorJoshua Crofts <joshua.crofts1@gmail.com>2026-05-11 13:26:11 +0200
committerJonathan Cameron <jic23@kernel.org>2026-05-31 10:59:39 +0100
commit46dd701a39f0b6b1796e75a9eb87822b8b3a98f1 (patch)
tree40ea1b9bee724fe30e2c89edb794960654a5f710 /tools/perf/scripts/python/bin
parentcfa30b4330677e351d6d26a0a12bfe505bc9f31d (diff)
iio: magnetometer: ak8975: check if gpiod read was successful
Add a check that ensures that valid data has been read from GPIOD. If not, log an error and return the negative read value. Suggested-by: Jonathan Cameron <jic23@kernel.org> Reviewed-by: Nuno Sá <nuno.sa@analog.com> Signed-off-by: Joshua Crofts <joshua.crofts1@gmail.com> Reviewed-by: Maxwell Doose <m32285159@gmail.com> Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions