[PATCH V4 0/3] i2c: qup: Some misc fixes

From: Sricharan R
Date: Fri Jun 10 2016 - 14:09:57 EST


One for fixing the bug with CONFIG_DEBUG_SG enabled, another
to suspend the transfer for all errors instead of just for NACK
and one for correcting the wrong initial value for index variable.

[V4] Added little more description to patch#1 and split a
change in to a new patch.

[V3] Added more commit description. Return more appropriate
error codes for NACK and other bus errors. Corrected
other bus errors handling procedure for dma mode as well.
Removed the dev_err log for NACKs.

[V2] Removed the use of unnecessary variable assignment.

Kept the reviewed and Tested by tag for patch#1,
as there was no code change.

Depends on patch[1] for the error handling to be complete.

[1] https://lkml.org/lkml/2016/5/9/447

Sricharan R (3):
i2c: qup: Fix broken dma when CONFIG_DEBUG_SG is enabled
i2c: qup: Fix wrong value of index variable
i2c: qup: Fix error handling

drivers/i2c/busses/i2c-qup.c | 128 ++++++++++++++++++++-----------------------
1 file changed, 58 insertions(+), 70 deletions(-)

--
QUALCOMM INDIA, on behalf of Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, hosted by The Linux Foundation