Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1425780

Re: [PATCH V4 3/3] i2c: qup: Fix error handling

From Wolfram Sang <wsa@the-dreams.de>
Newsgroups linux.kernel
Subject Re: [PATCH V4 3/3] i2c: qup: Fix error handling
Date 2016-06-18 18:30 +0200
Message-ID <rLrib-6py-55@gated-at.bofh.it> (permalink)
References <rIz2x-81e-9@gated-at.bofh.it> <rIz2y-81e-17@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

On Fri, Jun 10, 2016 at 11:38:21PM +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 unnecessary 'timeouts' which
> happens when waiting for events that would never happen when there
> is already an error condition on the bus. Also the error handling
> procedure should be the same for both NACK and other bus errors in
> case of dma mode. So correct that as well.
> 
> Signed-off-by: Sricharan R <sricharan@codeaurora.org>

Applied to for-next, thanks!

Back to linux.kernel | Previous | Next | Find similar | Unroll thread


Thread

Re: [PATCH V4 3/3] i2c: qup: Fix error handling Wolfram Sang <wsa@the-dreams.de> - 2016-06-18 18:30 +0200

csiph-web