mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH 0/2] Avoid meaningless DMA error print & use dev_err_probe
@ 2020-09-14 10:40 Alain Volmat
  2020-09-14 10:40 ` [PATCH 1/2] i2c: stm32: fix error message on upon dma_request_chan & defer handling Alain Volmat
  2020-09-14 10:40 ` [PATCH v2 2/2] i2c: stm32: Simplify with dev_err_probe() Alain Volmat
  0 siblings, 2 replies; 3+ messages in thread
From: Alain Volmat @ 2020-09-14 10:40 UTC (permalink / raw)
  To: wsa, pierre-yves.mordret
  Cc: alexandre.torgue, linux-i2c, linux-stm32, linux-arm-kernel,
	linux-kernel, fabrice.gasnier, krzk, h.assmann, alain.volmat

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2020-09-14 10:46 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-09-14 10:40 [PATCH 0/2] Avoid meaningless DMA error print & use dev_err_probe Alain Volmat
2020-09-14 10:40 ` [PATCH 1/2] i2c: stm32: fix error message on upon dma_request_chan & defer handling Alain Volmat
2020-09-14 10:40 ` [PATCH v2 2/2] i2c: stm32: Simplify with dev_err_probe() Alain Volmat

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®