summaryrefslogtreecommitdiffstats
path: root/drivers/rpmsg
diff options
context:
space:
mode:
authorSricharan R <sricharan@codeaurora.org>2016-06-10 23:38:21 +0530
committerWolfram Sang <wsa@the-dreams.de>2016-06-18 18:25:32 +0200
commitfbf9921f8b35d9b241a1ee0008d310a3a5390273 (patch)
tree3be4586dd60143e132e210a1b4df904d0b3d39e6 /drivers/rpmsg
parent685983f4decc5fa5700a0ab083859a2fe59acf10 (diff)
downloadop-kernel-dev-fbf9921f8b35d9b241a1ee0008d310a3a5390273.zip
op-kernel-dev-fbf9921f8b35d9b241a1ee0008d310a3a5390273.tar.gz
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 'drivers/rpmsg')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud