Skip to content

Avoid meaningless DMA error print & use dev_err_probe

Alain Volmat linux-arm-kernel linux-i2c lkml 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest1 of 2 patches 0 repliesNew

1 of 2 patches is in this archive. The cover letter announces 2.

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2i2c: stm32: fix error message on upon dma_request_chan & defer handlingdrivers/i2c/busses/i2c-stm32.c drivers/i2c/busses/i2c-stm32f7.c+8 -110 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/2] Avoid meaningless DMA error print & use dev_err_probe

This serie replaces the patch from Holger Assmann [i2c: stm32: remove unnecessary DMA kernel error log] (1) and the first version of [i2c: stm32:
do not display error when DMA is not requested] from myself (2).

A first patch is fixing useless error print when not being able to get DMA channel (DMA is only optional) and also avoid printing twice an error when a real DMA error is happening.

On top of that, dev_err_probe from Krzysztof has been rebased.

[1] https://marc.info/?l=linux-i2c&m=159741480608578&w=2
[2] https://marc.info/?l=linux-i2c&m=159973040314193&w=2

Alain Volmat (1):
i2c: stm32: fix error message on upon dma_request_chan & defer
handling

Krzysztof Kozlowski (1):
i2c: stm32: Simplify with dev_err_probe()

 drivers/i2c/busses/i2c-stm32.c   | 12 ++++++------
 drivers/i2c/busses/i2c-stm32f4.c |  6 ++----
 drivers/i2c/busses/i2c-stm32f7.c | 27 +++++++++++----------------
 3 files changed, 19 insertions(+), 26 deletions(-)
Signature · 1 line
2.7.4