On Wed, Aug 17, 2016 at 09:08:01PM +0200, Heiner Kallweit wrote: > Recently a maximum transfer size was was introduced in struct spi_master. > However there are also spi controllers with a maximum message size, e.g. > fsl-espi has a max message size of 64KB. > Introduce a hook max_message_size to deal with such limitations. This can be pulled as: The following changes since commit 29b4817d4018df78086157ea3a55c1d9424a7cfc: Linux 4.8-rc1 (2016-08-07 18:18:00 -0700) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi.git tags/spi-max-msg-size for you to fetch changes up to 5090cc6ae2f79ee779e5faf7c8a28edf42b7d738: spi: introduce max_message_size hook in spi_master (2016-08-18 11:14:48 +0100) ---------------------------------------------------------------- spi: Add a maximum message size operation Some controllers handle entire messages themselves and have limits on the maximum message size, provide a way for clients to query this. ---------------------------------------------------------------- Heiner Kallweit (1): spi: introduce max_message_size hook in spi_master include/linux/spi/spi.h | 25 +++++++++++++++++++++---- 1 file changed, 21 insertions(+), 4 deletions(-)