Re: [PATCH v7 01/15] i2c: octeon: Improve error status checking

Wolfram Sang
2016-04-25T21:20:35Z

[-- Attachment #1: Type: text/plain, Size: 563 bytes --]

On Mon, Apr 25, 2016 at 04:33:30PM +0200, Jan Glauber wrote:
> 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>

Applied to for-next, thanks!

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 819 bytes --]