Commit bb105a7d authored by Soren Brinkmann's avatar Soren Brinkmann Committed by Michal Simek
Browse files

I2C: cadence: Directly return instead of break



Directly return an error when deteceted, instead of breaking out of a
loop and returning it later.

Signed-off-by: default avatarSoren Brinkmann <soren.brinkmann@xilinx.com>
Signed-off-by: default avatarMichal Simek <michal.simek@xilinx.com>
parent b34331a1
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment