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

From: Alain Volmat
Date: Mon Sep 14 2020 - 06:43:20 EST


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(-)

--
2.7.4