Skip to content

Fix qcom geni i2c DMA handling

Stephen Boyd linux-arm-msm linux-i2c lkml 3 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. v3 Latest2 of 3 patches 6 repliesApplied
  2. v22 patches 5 repliesApplied
  3. v11 patch 4 repliesSuperseded

Changes in v3 from the cover letter

* Dropped first patch because it's applied
* New patch 3 to simplify irq handler
* Updated patch 2 to hoist out common code and remove 'mode' local variable

2 of 3 patches are in this archive. The cover letter announces 3.

Patches in v3 Applied

#Subject and filesSizeRepliesApplied
2/3i2c: i2c-qcom-geni: Simplify tx/rx functionsdrivers/i2c/busses/i2c-qcom-geni.c+36 -433 replies
3/3i2c: i2c-qcom-geni: Simplify irq handlerdrivers/i2c/busses/i2c-qcom-geni.c+29 -413 replies

Reviews trailers per patch

All 2 patches have a Reviewed-by or Acked-by.

PatchDouglas AndersonAlok Chauhan
2/3R-b R-b
3/3R-b R-b

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

Read the v3 thread

Cover letter [PATCH v3 0/3] Fix qcom geni i2c DMA handling

(Numbering is weird because I dropped patch 1 but left numbering the same)

The qcom GENI I2C driver fails DMA sometimes when things from request firmware are passed in as the message buffer. This patch series fixes that problem in the first patch and the second patch cleans up the code a little to reduce lines and simplify lines.

Cc Karthikeyan Ramasubramanian <[email protected]>
Cc Sagar Dharia <[email protected]>
Cc Girish Mahadevan <[email protected]>
Cc Doug Anderson <[email protected]>

Changes from v2:
* Dropped first patch because it's applied
* New patch 3 to simplify irq handler
* Updated patch 2 to hoist out common code and remove 'mode' local variable

Changes from v1:
* Use i2c helpers to map buffers
* New patch 2 to clean up seriously indented code

Stephen Boyd (2):
i2c: i2c-qcom-geni: Simplify tx/rx functions
i2c: i2c-qcom-geni: Simplify irq handler

 drivers/i2c/busses/i2c-qcom-geni.c | 149 +++++++++++++----------------
 1 file changed, 65 insertions(+), 84 deletions(-)
Signature · 1 line
Sent by a computer through tubes