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

2020-09-10 Thread Wolfram Sang
> Indeed, that's a good point. I'll rework it then, to avoid the dependency > on dev_err_probe change. If that is ok, I propose to push a two patches serie > with both this fix (updated) followed by a rebased version of the > dev_err_probe patch from Krzysztof for dev_err_probe change. Perfect!

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

2020-09-10 Thread Krzysztof Kozlowski
On Thu, 10 Sep 2020 at 14:27, Alain Volmat wrote: > > On Thu, Sep 10, 2020 at 12:06:07PM +0200, Wolfram Sang wrote: > > 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

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

2020-09-10 Thread Alain Volmat
On Thu, Sep 10, 2020 at 12:06:07PM +0200, Wolfram Sang wrote: > 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. > > > >

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

2020-09-10 Thread Wolfram Sang
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 > --- > This patch should be applied on top of the patch

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

2020-09-10 Thread Alain Volmat
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 --- This patch should be applied on top of the patch [i2c: stm32: Simplify with dev_err_probe()] ---