Re: [PATCH v1 RFC 1/2] spi: introduce fallback to pio

From: Mark Brown
Date: Mon Jun 15 2020 - 09:39:10 EST


On Mon, Jun 15, 2020 at 01:35:01PM +0000, Robin Gong wrote:
> On 2020/06/15 20:36 Mark Brown <broonie@xxxxxxxxxx> wrote:

> > If we see an error in transfer_one() it could be from anything, we've no idea
> > what happened on the bus - the controller may have got part way through the
> > transfer before failing.

> Then how about choosing specific error code for such dma not ready case where
> nothing went out on the bus neither?

Yes, that's what I suggested.

Attachment: signature.asc
Description: PGP signature