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


Groups > linux.kernel > #1443972 > unrolled thread

Re: [PATCH 1/2] i2c: qup: Cleared the error bits in ISR

Started byWolfram Sang <wsa@the-dreams.de>
First post2016-07-15 08:40 +0200
Last post2016-07-15 08:40 +0200
Articles 1 — 1 participant

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: [PATCH 1/2] i2c: qup: Cleared the error bits in ISR Wolfram Sang <wsa@the-dreams.de> - 2016-07-15 08:40 +0200

#1443972 — Re: [PATCH 1/2] i2c: qup: Cleared the error bits in ISR

FromWolfram Sang <wsa@the-dreams.de>
Date2016-07-15 08:40 +0200
SubjectRe: [PATCH 1/2] i2c: qup: Cleared the error bits in ISR
Message-ID<rV4WZ-3uz-9@gated-at.bofh.it>

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

On Mon, May 09, 2016 at 06:14:30PM +0530, Abhishek Sahu wrote:
> 1. Current QCOM I2C driver hangs when sending data to address 0x03-0x07
> in some scenarios. The QUP controller generates invalid write in this
> case, since these addresses are reserved for different bus formats.
> 
> 2. Also, the error handling is done by I2C QUP ISR in the case of DMA
> mode. The state need to be RESET in case of any error for clearing the
> available data in FIFO, which otherwise leaves the BAM DMA controller
> in hang state.
> 
> This patch fixes the above two issues by clearing the error bits from
> I2C and QUP status in ISR in case of I2C error, QUP error and resets
> the QUP state to clear the FIFO data.
> 
> Signed-off-by: Abhishek Sahu <absahu@codeaurora.org>

Applied to for-next, thanks!

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web