diff options
author | Wolfram Sang <wsa+renesas@sang-engineering.com> | 2024-09-09 13:14:50 +0300 |
---|---|---|
committer | Wolfram Sang <wsa+renesas@sang-engineering.com> | 2024-10-08 11:15:42 +0300 |
commit | 6b238b3c45eb67d3083d55dc17463d1f43e002a7 (patch) | |
tree | 4ffe52653646a715f17067c6bdfe09aef8a2b0ff /tools/perf/scripts/python/gecko.py | |
parent | 8cf0b93919e13d1e8d4466eb4080a4c4d9d66d7b (diff) | |
download | linux-6b238b3c45eb67d3083d55dc17463d1f43e002a7.tar.xz |
i2c: testunit: improve error handling for GPIO
Bail out in probe if getting the optional GPIO returns an error. Bail
out in the test early if the optional GPIO is not present, otherwise the
timeout errno is misleading.
Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
Diffstat (limited to 'tools/perf/scripts/python/gecko.py')
0 files changed, 0 insertions, 0 deletions