aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorJan Glauber <[email protected]>2016-04-25 16:33:30 +0200
committerWolfram Sang <[email protected]>2016-04-25 23:16:52 +0200
commitb4c715d04006ccc17d9ae0cf673b2f65267c042b (patch)
tree79a9b2a4cc7e15cd3e50c7b8d344fa6453ce548e /tools/perf/scripts/python
parentf6903783eba49a2cbb6798b35fcf9d2ce61768b9 (diff)
i2c: octeon: Improve error status checking
Introduce a function that checks for valid status codes depending on the phase of a transmit or receive. Also add all existing status codes and improve error handling for various states. The Octeon TWSI has an "assert acknowledge" bit (TWSI_CTL_AAK) that is required to be set in master receive mode until the last byte is requested. The state check needs to consider if this bit was set. Signed-off-by: Jan Glauber <[email protected]> Signed-off-by: Wolfram Sang <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions