Re: [PATCH] spi: spi-fsl-dspi: Fill actual_length when doing DMA transfer

From: Andrey Smirnov
Date: Tue Jul 17 2018 - 00:11:24 EST


On Mon, Jul 16, 2018 at 4:26 AM Mark Brown <broonie@xxxxxxxxxx> wrote:
>
> On Sun, Jul 15, 2018 at 11:25:08PM -0700, Andrey Smirnov wrote:
> > Users of SPI device drivers may rely on 'actual_length', so it is
> > important that information is correctly reported. One example would be
> > spi_mem_exec_op() which will fail if 'actual_length' doesn't match
> > requested transfer length. To fix the problem, add necessary code to
> > populate 'actual_length'.
>
> This doesn't apply against current code, please check and resend.


Sorry about that. Will do in v2.

Thanks,
Andrey Smirnov