RfC: Handle SPI controller limitations like maximum message length
Mark Brown
broonie at kernel.org
Wed Nov 18 13:57:55 PST 2015
On Wed, Nov 18, 2015 at 10:19:29PM +0100, Heiner Kallweit wrote:
> There have been few discussions in the past about how to handle SPI controller
> limitations like max message length. However they don't seem to have resulted
> in accepted patches yet.
No, they've resulted in people writing code. We've got a bunch of
things in the spi_master struct like the limits on speeds and bits per
word.
> Maybe a better approach would be to introduce a new member of spi_master
> dealing with controller limitations.
That's what we've been doing...
> I also add an example how a protocol driver could use this extension.
> Appreciate any comment.
>
>
> diff --git a/include/linux/spi/spi.h b/include/linux/spi/spi.h
> index 269e8af..8a27c66 100644
Please don't send patches without a signoff, see SubmittingPatches.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 473 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-mtd/attachments/20151118/7117b814/attachment.sig>
More information about the linux-mtd
mailing list