summaryrefslogtreecommitdiff
path: root/scripts/objdiff
diff options
context:
space:
mode:
authorJan Glauber <jglauber@cavium.com>2016-04-25 17:33:30 +0300
committerWolfram Sang <wsa@the-dreams.de>2016-04-26 00:16:52 +0300
commitb4c715d04006ccc17d9ae0cf673b2f65267c042b (patch)
tree79a9b2a4cc7e15cd3e50c7b8d344fa6453ce548e /scripts/objdiff
parentf6903783eba49a2cbb6798b35fcf9d2ce61768b9 (diff)
downloadlinux-b4c715d04006ccc17d9ae0cf673b2f65267c042b.tar.xz
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 <jglauber@cavium.com> Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
Diffstat (limited to 'scripts/objdiff')
0 files changed, 0 insertions, 0 deletions