diff options
| author | Jan Glauber <jglauber@cavium.com> | 2016-09-23 11:40:39 +0200 |
|---|---|---|
| committer | Wolfram Sang <wsa@the-dreams.de> | 2016-09-24 11:22:24 +0200 |
| commit | 70121f7f3725c82e8927a4e03ca1d50c98bbc6d2 (patch) | |
| tree | 29d0e13b40b0471d26047c270a78207748624ac7 /tools/perf/scripts/python | |
| parent | i2c: uniphier-f: fix misdetection of incomplete STOP condition (diff) | |
| download | linux-70121f7f3725c82e8927a4e03ca1d50c98bbc6d2.tar.gz linux-70121f7f3725c82e8927a4e03ca1d50c98bbc6d2.zip | |
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 -ETIMEDOUT in case of a failed data read. For all other
cases just return so subsequent operations will fail.
Signed-off-by: Jan Glauber <jglauber@cavium.com>
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
