Commit 6b238b3c authored by Wolfram Sang's avatar Wolfram Sang
Browse files

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: default avatarWolfram Sang <wsa+renesas@sang-engineering.com>
parent 8cf0b939
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment