commit | 6d06fdb93c13e3b989091918aaa60b04b347ab55 | [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 | 3c91589a14c9a39b0e0e440b5af4273b6147a8d2 [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>