diff options
| author | Francois Berder <[email protected]> | 2023-09-08 18:47:46 +0200 |
|---|---|---|
| committer | Tom Rini <[email protected]> | 2023-09-22 15:54:39 -0400 |
| commit | 8cf61051ae6e13e253de0d18501c196bc70522fc (patch) | |
| tree | 964377de3602f6ccb5a2c7aa045d7230edfab3ea /scripts/env2string.awk | |
| parent | c5b42e3e9e757ab44da3006e713d8d02b65aa9fe (diff) | |
drivers: mediatek: Fix error handling in mtk_i2c_do_transfer
Errors were handled only if an I2C transfer timed out
and received a NACK which is very unlikely. This commit
changes the condition such that errors are handled if
an I2C transfer times out or received a NACK.
Signed-off-by: Francois Berder <[email protected]>
Reviewed-by: Heiko Schocher <[email protected]>
Diffstat (limited to 'scripts/env2string.awk')
0 files changed, 0 insertions, 0 deletions
