commit | 47b9efb126271be6394bfc06f1167c91c7272655 | [log] [tgz] |
---|---|---|
author | Michal Simek <michal.simek@amd.com> | Thu Aug 01 10:01:30 2024 +0200 |
committer | Heiko Schocher <hs@denx.de> | Fri Aug 09 14:46:05 2024 +0200 |
tree | 51541f9d9cb2ca73b890cb11e432540288b1dc6f | |
parent | 7aa81891abc14653e6db54493efef484ff96fdb1 [diff] |
i2c: mux: Fix error path in i2c-arb-gpio There is no reason to use goto and just call return. Better is to call return directly which is done for some if/else parts. Also make no sense to setup ret to -ETIMEDOUT and then to 0. Return timeout directly. Signed-off-by: Michal Simek <michal.simek@amd.com> Reviewed-by: Heiko Schocher <hs@denx.de>