Re: [PATCH v2 02/19] spi: dw: Add Tx/Rx finish wait methods to the MID DMA

From: Mark Brown
Date: Fri May 15 2020 - 08:41:37 EST


On Fri, May 15, 2020 at 03:37:02PM +0300, Andy Shevchenko wrote:
> On Fri, May 15, 2020 at 01:18:15PM +0100, Mark Brown wrote:

> > Well, nobody wrote one.

> spi_delay_exec() seems quite good to be used here.
> Can we use it for delays?

I guess we could, though it's really there because for historical
reasons we've got a bunch of different ways of specifying delays from
client drivers rather than for the executing a delay where you've
already got a good idea of the length of the delay.

Attachment: signature.asc
Description: PGP signature