[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20200910100607.GJ1031@ninjato>
Date: Thu, 10 Sep 2020 12:06:07 +0200
From: Wolfram Sang <wsa@...nel.org>
To: Alain Volmat <alain.volmat@...com>
Cc: pierre-yves.mordret@...com, alexandre.torgue@...com,
linux-i2c@...r.kernel.org,
linux-stm32@...md-mailman.stormreply.com,
linux-arm-kernel@...ts.infradead.org, linux-kernel@...r.kernel.org,
fabrice.gasnier@...com
Subject: Re: [PATCH] i2c: stm32: do not display error when DMA is not
requested
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@...com>
> ---
> 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.
Download attachment "signature.asc" of type "application/pgp-signature" (834 bytes)
Powered by blists - more mailing lists