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

Mark Brown
2020-06-15T13:39:10Z

[-- Attachment #1: Type: text/plain, Size: 477 bytes --]

On Mon, Jun 15, 2020 at 01:35:01PM +0000, Robin Gong wrote:
> On 2020/06/15 20:36 Mark Brown <broonie@kernel.org> 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 #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 488 bytes --]