summaryrefslogtreecommitdiff
path: root/firmware/av7110
diff options
context:
space:
mode:
authorSricharan R <sricharan@codeaurora.org>2016-06-10 21:08:21 +0300
committerWolfram Sang <wsa@the-dreams.de>2016-06-18 19:25:32 +0300
commitfbf9921f8b35d9b241a1ee0008d310a3a5390273 (patch)
tree3be4586dd60143e132e210a1b4df904d0b3d39e6 /firmware/av7110
parent685983f4decc5fa5700a0ab083859a2fe59acf10 (diff)
downloadlinux-fbf9921f8b35d9b241a1ee0008d310a3a5390273.tar.xz
i2c: qup: Fix error handling
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> Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
Diffstat (limited to 'firmware/av7110')
0 files changed, 0 insertions, 0 deletions