kernel_optimize_test/drivers/spi
Gabor Juhos 56ede94a00 spi: limit default transfer speed to controller's max speed
Since the 'spi: Support transfer speed checking in the core'
change, the SPI core validates the desired speed of a given
transfer against the minimum and maximum speeds supported by
the controller.

If the speed of a transfer is not specified, the core uses
the maximum speed of the actual SPI device. However if the
maximum speed of the actual device is greater than the
maximum speed of the controller, the core will reject the
transfer due to the aforementioned change.

Change the code to use the maximum speed of the controller
by default if that is below the device's maximum speed.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
Signed-off-by: Mark Brown <broonie@linaro.org>
2013-08-14 19:12:31 +01:00
..
Kconfig Merge branch 'upstream' of git://git.linux-mips.org/pub/scm/ralf/upstream-linus 2013-07-13 14:52:21 -07:00
Makefile
spi-altera.c Merge remote-tracking branch 'spi/topic/core' into spi-next 2013-06-26 16:20:58 +01:00
spi-ath79.c Merge remote-tracking branch 'spi/topic/core' into spi-next 2013-06-26 16:20:58 +01:00
spi-atmel.c Merge remote-tracking branch 'spi/topic/bpw' into spi-next 2013-06-26 16:20:57 +01:00
spi-au1550.c Merge remote-tracking branch 'spi/topic/core' into spi-next 2013-06-26 16:20:58 +01:00
spi-bcm63xx.c Merge remote-tracking branch 'spi/topic/core' into spi-next 2013-06-26 16:20:58 +01:00
spi-bcm2835.c
spi-bfin-sport.c Merge remote-tracking branch 'spi/topic/core' into spi-next 2013-06-26 16:20:58 +01:00
spi-bfin5xx.c Merge remote-tracking branch 'spi/topic/core' into spi-next 2013-06-26 16:20:58 +01:00
spi-bitbang-txrx.h
spi-bitbang.c
spi-butterfly.c
spi-clps711x.c Merge remote-tracking branch 'spi/topic/core' into spi-next 2013-06-26 16:20:58 +01:00
spi-coldfire-qspi.c Merge remote-tracking branch 'spi/topic/core' into spi-next 2013-06-26 16:20:58 +01:00
spi-davinci.c Merge remote-tracking branch 'spi/topic/pdata' into spi-next 2013-06-26 16:21:02 +01:00
spi-dw-mid.c
spi-dw-mmio.c
spi-dw-pci.c
spi-dw.c spi: convert drivers to use bits_per_word_mask 2013-05-29 20:48:17 +01:00
spi-dw.h
spi-ep93xx.c Merge remote-tracking branch 'spi/topic/ep93xx' into spi-next 2013-06-26 16:20:58 +01:00
spi-falcon.c
spi-fsl-cpm.c
spi-fsl-cpm.h
spi-fsl-espi.c spi: fix build break in spi-fsl-espi.c 2013-06-01 19:46:16 +01:00
spi-fsl-lib.c spi: spi-fsl-lib: Make mpc8xxx_spi_work static 2013-06-04 18:40:51 +01:00
spi-fsl-lib.h
spi-fsl-spi.c spi: use platform_{get,set}_drvdata() 2013-05-23 09:09:55 -05:00
spi-fsl-spi.h
spi-gpio.c Merge remote-tracking branch 'spi/topic/core' into spi-next 2013-06-26 16:20:58 +01:00
spi-imx.c Merge remote-tracking branch 'spi/topic/imx' into spi-next 2013-06-26 16:20:59 +01:00
spi-lm70llp.c
spi-mpc52xx-psc.c spi: use platform_{get,set}_drvdata() 2013-05-23 09:09:55 -05:00
spi-mpc52xx.c spi: use platform_{get,set}_drvdata() 2013-05-23 09:09:55 -05:00
spi-mpc512x-psc.c spi: mpc512x: use the SPI subsystem's message queue 2013-06-04 18:22:48 +01:00
spi-mxs.c Merge remote-tracking branch 'spi/topic/mxs' into spi-next 2013-06-26 16:21:00 +01:00
spi-nuc900.c Merge remote-tracking branch 'spi/topic/nuc900' into spi-next 2013-06-26 16:21:01 +01:00
spi-oc-tiny.c
spi-octeon.c
spi-omap-100k.c Merge remote-tracking branch 'spi/topic/pdata' into spi-next 2013-06-26 16:21:02 +01:00
spi-omap-uwire.c spi: use platform_{get,set}_drvdata() 2013-05-23 09:09:55 -05:00
spi-omap2-mcspi.c Merge remote-tracking branch 'spi/topic/pdata' into spi-next 2013-06-26 16:21:02 +01:00
spi-orion.c spi: use platform_{get,set}_drvdata() 2013-05-23 09:09:55 -05:00
spi-pl022.c Pin control changes for the v3.11 kernel cycle: 2013-07-03 11:48:03 -07:00
spi-ppc4xx.c Merge remote-tracking branch 'spi/topic/pdata' into spi-next 2013-06-26 16:21:02 +01:00
spi-pxa2xx-dma.c Merge remote-tracking branch 'spi/topic/pxa' into spi-next 2013-06-26 16:21:03 +01:00
spi-pxa2xx-pci.c
spi-pxa2xx-pxadma.c
spi-pxa2xx.c Merge remote-tracking branch 'spi/topic/pxa' into spi-next 2013-06-26 16:21:03 +01:00
spi-pxa2xx.h
spi-rspi.c spi: use platform_{get,set}_drvdata() 2013-05-23 09:09:55 -05:00
spi-s3c24xx-fiq.h
spi-s3c24xx-fiq.S
spi-s3c24xx.c spi: spi-s3c24xx: Remove redundant platform_set_drvdata() 2013-06-01 20:17:36 +01:00
spi-s3c64xx.c Merge remote-tracking branch 'spi/topic/s3c64xx' into spi-next 2013-06-26 16:21:04 +01:00
spi-sc18is602.c
spi-sh-hspi.c Merge remote-tracking branch 'spi/topic/pdata' into spi-next 2013-06-26 16:21:02 +01:00
spi-sh-msiof.c
spi-sh-sci.c
spi-sh.c spi: use platform_{get,set}_drvdata() 2013-05-23 09:09:55 -05:00
spi-sirf.c Merge remote-tracking branch 'spi/topic/sirf' into spi-next 2013-06-26 16:21:04 +01:00
spi-tegra20-sflash.c spi: use platform_{get,set}_drvdata() 2013-05-23 09:09:55 -05:00
spi-tegra20-slink.c spi: use platform_{get,set}_drvdata() 2013-05-23 09:09:55 -05:00
spi-tegra114.c spi: use platform_{get,set}_drvdata() 2013-05-23 09:09:55 -05:00
spi-ti-ssp.c spi: convert drivers to use bits_per_word_mask 2013-05-29 20:48:17 +01:00
spi-tle62x0.c
spi-topcliff-pch.c Merge remote-tracking branch 'spi/topic/topcliff' into spi-next 2013-06-26 16:21:05 +01:00
spi-txx9.c Merge remote-tracking branch 'spi/topic/txx9' into spi-next 2013-06-26 16:21:05 +01:00
spi-xcomm.c spi: convert drivers to use bits_per_word_mask 2013-05-29 20:48:17 +01:00
spi-xilinx.c Merge remote-tracking branch 'spi/topic/xilinx' into spi-next 2013-06-26 16:21:06 +01:00
spi.c spi: limit default transfer speed to controller's max speed 2013-08-14 19:12:31 +01:00
spidev.c