summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorJan Glauber <jglauber@cavium.com>2016-12-09 10:31:57 +0100
committerWolfram Sang <wsa@the-dreams.de>2016-12-17 19:27:44 +0100
commit493ff7e2cdda9182fb709d3681315180d9165bd8 (patch)
treeb3c5e698aade608c5d84736dad5bd7a1da9a36a6 /include
parent59331c215daf600a650e281b6e8ef3e1ed1174c2 (diff)
i2c: octeon: thunderx: Limit register access retries
Do not infinitely retry register readq and writeq operations in order to not lock up the CPU in case the TWSI gets stuck. Return -EIO in case of a failed data read. For all other cases just return so subsequent operations will fail and trigger the recovery. Signed-off-by: Jan Glauber <jglauber@cavium.com> Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions