Skip to content

i2c: qup: Some misc fixes

Sricharan R linux-arm-kernel linux-arm-msm linux-i2c lkml 4 versions – Applied

Status from this message: Applied to for-next, thanks!

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v4 Latest3 patches 9 repliesApplied
  2. v32 patches 3 repliesSuperseded
  3. v22 patches 9 repliesSuperseded
Earlier versions · 1
VersionPostedPatchesRepliesStatus
v12 patches4 repliesSuperseded

Patches in v4 Applied

#Subject and filesSizeRepliesApplied
1/3i2c: qup: Fix broken dma when CONFIG_DEBUG_SG is enableddrivers/i2c/busses/i2c-qup.c+15 -363 replies
2/3i2c: qup: Fix wrong value of index variabledrivers/i2c/busses/i2c-qup.c+2 -03 replies
3/3i2c: qup: Fix error handlingdrivers/i2c/busses/i2c-qup.c+41 -352 replies

Reviews trailers per patch

1 of 3 patches has a Reviewed-by or Acked-by.

PatchAndy Gross
1/3R-b
2/3
3/3

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v4 thread

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

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(-)
Signature · 1 line
QUALCOMM INDIA, on behalf of Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, hosted by The Linux Foundation