mbox series

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

Message ID 1600080034-2050-1-git-send-email-alain.volmat@st.com
Headers show
Series Avoid meaningless DMA error print & use dev_err_probe | expand

Message

Alain Volmat Sept. 14, 2020, 10:40 a.m. UTC
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(-)