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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Jun 15, 2020 at 02:53:29PM +0000, Robin Gong wrote:
> On 2020/06/15 22:36 Mark Brown <broonie@xxxxxxxxxx> wrote: 

> > We could also pass in a flag that could be set separately to the error code to
> > indicate that nothing had happened to the hardware yet.

> Do you mean spi-imx.c checking 'ctlr->flags' before return such error code?
> Or just like below done in spi.c.

No, I mean passing in an additional argument which can provide richer
data than trying to smash things into the return value.

Attachment: signature.asc
Description: PGP signature


[Index of Archives]     [Linux Kernel]     [Linux ARM (vger)]     [Linux ARM MSM]     [Linux Omap]     [Linux Arm]     [Linux Tegra]     [Fedora ARM]     [Linux for Samsung SOC]     [eCos]     [Linux Fastboot]     [Gcc Help]     [Git]     [DCCP]     [IETF Announce]     [Security]     [Linux MIPS]     [Yosemite Campsites]

  Powered by Linux