Re: [PATCH v2 1/2] spi: Split spi message into chunks of <65535 in the spi subsystem

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

 



On Sat, Mar 10, 2018 at 08:12:29PM +0100, Geert Uytterhoeven wrote:

> > +               gfp_t gfp_flags = GFP_KERNEL | GFP_DMA;
> > +               size_t max_transfer_size = 32000;

> Do you really want to impose this arbitrary limit (which BTW doesn't match
> the value in the patch description) to each and every SPI controller driver?

Drivers can advertise any limits they have on their transfer sizes using
the max_transfer_size() operation, we should be using that as the limit.

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