summaryrefslogtreecommitdiff
path: root/lib/mpi/mpiutil.c
diff options
context:
space:
mode:
authorAbhishek Sahu <absahu@codeaurora.org>2016-05-09 15:44:30 +0300
committerWolfram Sang <wsa@the-dreams.de>2016-07-15 09:26:56 +0300
commit2b84a4dd4be0fd6d6fecdb14040cbbc38a3b525a (patch)
tree6100c6305a07d7762d17c01a4548b341e3750f0b /lib/mpi/mpiutil.c
parent94a0b0b92ed53cb74115b2c41c34aa0bf314d1aa (diff)
downloadlinux-2b84a4dd4be0fd6d6fecdb14040cbbc38a3b525a.tar.xz
i2c: qup: Cleared the error bits in ISR
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> Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
Diffstat (limited to 'lib/mpi/mpiutil.c')
0 files changed, 0 insertions, 0 deletions