[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CAHQ1cqHPgL0k9Av6m3gxkeT=YpaaK9+Wm4Lagp+GXo-nH+OBnw@mail.gmail.com>
Date: Mon, 16 Jul 2018 21:11:09 -0700
From: Andrey Smirnov <andrew.smirnov@...il.com>
To: Mark Brown <broonie@...nel.org>
Cc: maitysanchayan@...il.com, Stefan Agner <stefan@...er.ch>,
Chris Healy <cphealy@...il.com>, linux-spi@...r.kernel.org,
linux-kernel <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH] spi: spi-fsl-dspi: Fill actual_length when doing DMA transfer
On Mon, Jul 16, 2018 at 4:26 AM Mark Brown <broonie@...nel.org> 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
Powered by blists - more mailing lists