summaryrefslogtreecommitdiff
path: root/crypto
diff options
context:
space:
mode:
authorHeiner Kallweit <hkallweit1@gmail.com>2016-08-17 22:08:01 +0300
committerMark Brown <broonie@kernel.org>2016-08-18 13:14:48 +0300
commit5090cc6ae2f79ee779e5faf7c8a28edf42b7d738 (patch)
tree531e431fa02f122fbc13ff0d498bc908cc2e3f2b /crypto
parent29b4817d4018df78086157ea3a55c1d9424a7cfc (diff)
downloadlinux-5090cc6ae2f79ee779e5faf7c8a28edf42b7d738.tar.xz
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 'crypto')
0 files changed, 0 insertions, 0 deletions