diff options
author | Heiner Kallweit <hkallweit1@gmail.com> | 2016-08-17 21:08:01 +0200 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2016-08-18 11:14:48 +0100 |
commit | 5090cc6ae2f79ee779e5faf7c8a28edf42b7d738 (patch) | |
tree | 531e431fa02f122fbc13ff0d498bc908cc2e3f2b /Makefile | |
parent | 29b4817d4018df78086157ea3a55c1d9424a7cfc (diff) |
spi: introduce max_message_size hook in spi_master
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.
Also make sure that spi_max_transfer_size doesn't return greater values
than spi_max_message_size, even if hook max_transfer_size is not set.
Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'Makefile')
0 files changed, 0 insertions, 0 deletions