Re: [PATCH] i2c: qcom-geni: Fix return value for master_xfer

From: Vinod Koul
Date: Fri Feb 18 2022 - 06:05:59 EST


On 18-02-22, 10:44, Wolfram Sang wrote:
> On Wed, Feb 09, 2022 at 09:03:56PM +0000, jorcrous@xxxxxxxxxx wrote:
> > From: Jordan Crouse <jorcrous@xxxxxxxxxx>
> >
> > The master_xfer function is supposed to return the number of messages that
> > were processed. Both geni_i2c_gpi_xfer and geni_i2c_fifo_xfer are
> > returning 0 which is being interpeted as a error in the upper layers.
> >
> > Fixes: 8133682618cb ("i2c: qcom-geni: Add support for GPI DMA")
> > Signed-off-by: Jordan Crouse <jorcrous@xxxxxxxxxx>
>
> For the record, this patch is not upstream yet and needs to be folded
> into the next version of the GPI DMA patch by Vinod.

I have folder this into into my patch and will be posting updated one
(this was also in Dmitry's review)

Thanks
--
~Vinod