diff options
| author | Moritz Fischer <[email protected]> | 2017-01-16 09:50:45 -0800 |
|---|---|---|
| committer | Heiko Schocher <[email protected]> | 2017-01-18 06:38:14 +0100 |
| commit | 0ec0c5864365f3f222e1652aca98cfbd86bae890 (patch) | |
| tree | 5cb15f8c52c292e1a23810e0224f409de3bbc7d1 /scripts/cleanpatch | |
| parent | 5e429852085119aa7e7a4437f588ae3a2424a3f6 (diff) | |
i2c: i2c-cdns: Reorder timeout loop for interrupt waiting
Reorder the timeout loop such that we first check if the
condition is already true, and then call udelay() so if
the condition is already true, break early.
Reviewed-by: Michal Simek <[email protected]>
Signed-off-by: Moritz Fischer <[email protected]>
Cc: Heiko Schocher <[email protected]>
Cc: Michal Simek <[email protected]>
Cc: [email protected]
Diffstat (limited to 'scripts/cleanpatch')
0 files changed, 0 insertions, 0 deletions
