Thread (12 messages) 12 messages, 3 authors, 2016-05-16

Re: [PATCH V2 2/2] drivers: i2c: qup: Fix error handling

From: Wolfram Sang <hidden>
Date: 2016-05-13 11:48:30
Also in: linux-arm-kernel, linux-arm-msm, linux-i2c, lkml

On Fri, May 06, 2016 at 05:01:14PM +0530, Sricharan R wrote:
Among the bus errors reported from the QUP_MASTER_STATUS register
only NACK is considered and transfer gets suspended, while
other errors are ignored. Correct this and suspend the transfer
for other errors as well. This avoids unnessecary 'timeouts' which
happens when waiting for events that would never happen when there
is already an error condition on the bus.

Signed-off-by: Sricharan R <redacted>
Reviewed-by: Andy Gross <redacted>
Please check Documentation/i2c/fault-codes for proper fault codes.

Attachments

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help