Re: [PATCH] i2c: stm32: do not display error when DMA is not requested

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Sep 10, 2020 at 11:32:29AM +0200, Alain Volmat wrote:
> DMA usage is optional for the I2C driver. check for the -ENODEV
> error in order to avoid displaying an error when no DMA
> has been requested.
> 
> Signed-off-by: Alain Volmat <alain.volmat@xxxxxx>
> ---
> This patch should be applied on top of the patch [i2c: stm32: Simplify with dev_err_probe()]

We can do it in this order, it just makes backporting to stable kernels
(if that is desired) a bit harder than a self-contained patch. I am fine
with both approaches, but just wanted to point it out.

Attachment: signature.asc
Description: PGP signature


[Index of Archives]     [Linux GPIO]     [Linux SPI]     [Linux Hardward Monitoring]     [LM Sensors]     [Linux USB Devel]     [Linux Media]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux