kernel-ark/drivers/spi
Mark Brown b3a223ee2d spi: Remove SPI_BUFSIZ restriction on spi_write_then_read()
In order to avoid constantly allocating and deallocating there is a fixed
buffer which spi_write_then_read() uses for transfers, with an early error
check to ensure that the transfer fits within the buffer. This limits the
size of transfers to this size, currently max(32, SMP_CACHE_BYTES).

Since we can dynamically allocate and in fact already have a fallback
to do so when there is contention for the fixed buffer remove this
restriction and instead dynamically allocate a suitably sized buffer if
the transfer won't fit.

Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
2012-12-06 14:03:14 +00:00
..
Kconfig spi/stmp: remove obsolete driver 2012-12-06 14:02:53 +00:00
Makefile spi/stmp: remove obsolete driver 2012-12-06 14:02:53 +00:00
spi-altera.c
spi-ath79.c
spi-atmel.c
spi-au1550.c spi: fix comment/printk typos in spi 2012-09-01 08:53:27 -07:00
spi-bcm63xx.c spi/bcm63xx: remove useless call to bcm63xx_spi_check_transfer() 2012-10-17 16:13:25 +09:00
spi-bfin5xx.c
spi-bfin-sport.c spi: fix comment/printk typos in spi 2012-09-01 08:53:27 -07:00
spi-bitbang-txrx.h
spi-bitbang.c spi/bitbang: (cosmetic) simplify list manipulation 2012-11-14 15:38:15 +00:00
spi-butterfly.c
spi-clps711x.c spi/clps711x: New SPI master driver 2012-12-05 23:14:38 +00:00
spi-coldfire-qspi.c
spi-davinci.c Merge branch 'next' of git://git.infradead.org/users/vkoul/slave-dma 2012-10-10 11:10:41 +09:00
spi-dw-mid.c
spi-dw-mmio.c
spi-dw-pci.c
spi-dw.c
spi-dw.h
spi-ep93xx.c ARM: ep93xx: move platform_data definitions 2012-09-14 11:16:55 +02:00
spi-falcon.c
spi-fsl-espi.c
spi-fsl-lib.c
spi-fsl-lib.h
spi-fsl-spi.c
spi-gpio.c spi/gpio: Fix stub for spi_gpio_probe_dt() 2012-09-07 08:23:06 +08:00
spi-imx.c spi: Updates for v3.7 2012-10-02 17:26:42 -07:00
spi-lm70llp.c
spi-mpc52xx-psc.c spi/mpc52xx-psc: Avoid access to freed memory in device remove function 2012-08-22 19:26:36 +01:00
spi-mpc52xx.c spi/mpc52xx: Fix device remove function 2012-08-22 19:26:36 +01:00
spi-mpc512x-psc.c spi/mpc512x-psc: Avoid access to freed memory in device remove function 2012-08-22 19:26:36 +01:00
spi-mxs.c spi: mxs: Terminate DMA in case of DMA timeout 2012-10-17 16:11:09 +09:00
spi-nuc900.c ARM: w90x900: move platform_data definitions 2012-09-14 11:18:59 +02:00
spi-oc-tiny.c spi: fix comment/printk typos in spi 2012-09-01 08:53:27 -07:00
spi-octeon.c spi: Add SPI master controller for OCTEON SOCs. 2012-08-22 23:46:38 +02:00
spi-omap2-mcspi.c spi: omap2-mcspi: remove duplicate inclusion of linux/err.h 2012-12-03 00:17:55 +09:00
spi-omap-100k.c SPI: OMAP: remove unnecessary includes of plat/clock.h 2012-09-22 10:50:01 -06:00
spi-omap-uwire.c ARM: OMAP1: Make plat/mux.h omap1 only 2012-09-20 14:54:57 -07:00
spi-orion.c
spi-pl022.c spi: Fixes for v3.7 2012-10-23 14:02:21 +01:00
spi-ppc4xx.c spi: fix comment/printk typos in spi 2012-09-01 08:53:27 -07:00
spi-pxa2xx-pci.c
spi-pxa2xx.c
spi-rspi.c spi: spi-rspi: fix build error for the latest shdma driver 2012-10-17 16:32:46 +09:00
spi-s3c24xx-fiq.h
spi-s3c24xx-fiq.S
spi-s3c24xx.c
spi-s3c64xx.c Merge branch 'spi-fix-s3c64xx' into spi-next 2012-11-07 09:22:32 +01:00
spi-sc18is602.c spi/sc18is602: Return -EINVAL for probe failures due to I2C function mismatch 2012-08-23 12:13:54 +01:00
spi-sh-hspi.c spi/sh-hspi: add CS manual control support 2012-11-23 09:52:43 +00:00
spi-sh-msiof.c
spi-sh-sci.c
spi-sh.c
spi-sirf.c
spi-tegra20-sflash.c spi: tegra: add spi driver for sflash controller 2012-11-14 11:04:53 +09:00
spi-tegra20-slink.c spi: tegra: sequence compatible strings as per preference 2012-11-09 16:43:07 +00:00
spi-ti-ssp.c
spi-tle62x0.c spi: spi-tle62x0: Use module_spi_driver macro 2012-09-06 07:43:15 +08:00
spi-topcliff-pch.c spi: Updates for v3.7 2012-10-02 17:26:42 -07:00
spi-txx9.c
spi-xcomm.c
spi-xilinx.c
spi.c spi: Remove SPI_BUFSIZ restriction on spi_write_then_read() 2012-12-06 14:03:14 +00:00
spidev.c spi: spidev: Add Rohm DH2228FV DAC compatible string 2012-11-01 14:54:47 +00:00