diff options
author | Wolfram Sang <wsa+renesas@sang-engineering.com> | 2024-09-09 12:14:50 +0200 |
---|---|---|
committer | Wolfram Sang <wsa+renesas@sang-engineering.com> | 2024-10-08 10:15:42 +0200 |
commit | 6b238b3c45eb67d3083d55dc17463d1f43e002a7 (patch) | |
tree | 4ffe52653646a715f17067c6bdfe09aef8a2b0ff /net/lapb/lapb_in.c | |
parent | 8cf0b93919e13d1e8d4466eb4080a4c4d9d66d7b (diff) | |
download | linux-6b238b3c45eb67d3083d55dc17463d1f43e002a7.tar.gz linux-6b238b3c45eb67d3083d55dc17463d1f43e002a7.tar.bz2 linux-6b238b3c45eb67d3083d55dc17463d1f43e002a7.zip |
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 'net/lapb/lapb_in.c')
0 files changed, 0 insertions, 0 deletions