summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorDai Okamura <[email protected]>2022-12-09 20:38:27 +0900
committerTom Rini <[email protected]>2023-01-06 08:14:19 -0500
commit4671435c54ce79d3c671177cb47461d208186eae (patch)
treedee50a1a0d7cd815d0a522f7d0c64ad1050f7fb7 /scripts
parentf8548ce0e09385926574283b17af6c2cd4e32af2 (diff)
i2c: uniphier-f: correct error recovery
The uniphier i2c block can recognize some handshake errors. But driver handles all error detections as no error if no timeout. So this makes unrecoverable state. This replaces the return values with the right ones to tell the i2c framework the errors: - EDEADLK for arbitration lost error - ENODATA for no answer error Signed-off-by: Dai Okamura <[email protected]> Acked-by: Kunihiko Hayashi <[email protected]> Reviewed-by: Heiko Schocher <[email protected]>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions