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> |
||
|---|---|---|
| .. | ||
| ad7877.h | ||
| adi_spi3.h | ||
| ads7846.h | ||
| at73c213.h | ||
| at86rf230.h | ||
| cc2520.h | ||
| corgi_lcd.h | ||
| ds1305.h | ||
| eeprom.h | ||
| flash.h | ||
| ifx_modem.h | ||
| l4f00242t03.h | ||
| libertas_spi.h | ||
| lms283gf05.h | ||
| max7301.h | ||
| mc33880.h | ||
| mcp23s08.h | ||
| mmc_spi.h | ||
| mxs-spi.h | ||
| pxa2xx_spi.h | ||
| rspi.h | ||
| s3c24xx.h | ||
| sh_hspi.h | ||
| sh_msiof.h | ||
| spi.h | ||
| spi_bitbang.h | ||
| spi_gpio.h | ||
| spi_oc_tiny.h | ||
| tdo24m.h | ||
| tle62x0.h | ||
| tsc2005.h | ||
| xilinx_spi.h | ||