tmp_suning_uos_patched/drivers/spi
Hannu Heikkinen 57d9c10dd9 spi/omap_mcspi: Off-by-one error in finding the right divisor
Off-by-one error, gave erroneous divisor value 16 if speed_hz is over zero but
less than OMAP2_MCSPI_MAX_FREQ / (1 << 15), that is, [1..1463].

Also few overly complex bit shifts in divisor fixed.

Also one dev_dgb line fixed, which indicated max speed exceeding transfer speed.

Introducing a new function omap2_mcspi_calc_divisor() for getting the right
divisor in omap2_mcspi_setup_transfer().

Signed-off-by: Phil Carmody <ext-phil.2.carmody@nokia.com>
Signed-off-by: Hannu Heikkinen <ext-hannu.m.heikkinen@nokia.com>
Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
2011-02-24 12:44:37 -07:00
..
amba-pl022.c spi/pl022: rid dangling labels 2011-02-22 14:59:59 -07:00
ath79_spi.c SPI: Add SPI controller driver for the Atheros AR71XX/AR724X/AR913X SoCs 2011-01-18 19:30:27 +01:00
atmel_spi.c Merge branch 'master' into for-next 2010-12-22 18:57:02 +01:00
atmel_spi.h
au1550_spi.c
coldfire_qspi.c spi/m68knommu: Coldfire QSPI platform support 2010-12-29 23:28:25 -07:00
davinci_spi.c spi: davinci: shorten variable names 2010-11-18 18:38:38 +05:30
dw_spi_mid.c spi/dw_spi: add DMA support 2010-12-24 01:23:25 -07:00
dw_spi_mmio.c spi/dw_spi: don't treat NULL clk as an error 2011-01-11 08:20:07 -07:00
dw_spi_pci.c spi/dw_spi: add DMA support 2010-12-24 01:23:25 -07:00
dw_spi.c spi/dw_spi Typo change diable to disable. 2010-12-30 23:44:55 -07:00
ep93xx_spi.c
Kconfig spi: add support for SuperH SPI 2011-02-22 14:59:54 -07:00
Makefile spi: add support for SuperH SPI 2011-02-22 14:59:54 -07:00
mpc52xx_psc_spi.c spi/mpc52xx-psc-spi: move probe/remove to proper sections 2010-12-24 11:18:34 -07:00
mpc52xx_spi.c spi/mpc52xx-spi: fix annotation for remove()-pointer 2010-12-24 01:57:17 -07:00
mpc512x_psc_spi.c
omap2_mcspi.c spi/omap_mcspi: Off-by-one error in finding the right divisor 2011-02-24 12:44:37 -07:00
omap_spi_100k.c
omap_uwire.c
orion_spi.c
pxa2xx_spi_pci.c driver-core: remove conditionals around devicetree pointers 2011-01-21 09:24:48 -07:00
pxa2xx_spi.c driver-core: remove conditionals around devicetree pointers 2011-01-21 09:24:48 -07:00
spi_altera.c spi: New driver for Altera SPI 2011-02-22 14:59:53 -07:00
spi_bfin5xx.c spi/bfin_spi: return immediately after skipping to next transfer 2011-02-15 13:57:02 -07:00
spi_bitbang_txrx.h
spi_bitbang.c spi/bitbang: check for setup_transfer during initialization 2011-02-15 15:05:58 -07:00
spi_butterfly.c
spi_fsl_espi.c spi/fsl_espi: change the read behaviour of the SPIRF 2010-12-29 23:04:46 -07:00
spi_fsl_lib.c
spi_fsl_lib.h
spi_fsl_spi.c
spi_gpio.c
spi_imx.c spi/imx: select master mode for all channels 2011-02-15 15:10:11 -07:00
spi_lm70llp.c
spi_nuc900.c
spi_oc_tiny.c spi: add OpenCores tiny SPI driver 2011-02-22 14:59:53 -07:00
spi_ppc4xx.c
spi_s3c24xx_fiq.h
spi_s3c24xx_fiq.S
spi_s3c24xx_gpio.c
spi_s3c24xx.c
spi_s3c64xx.c
spi_sh_msiof.c spi/spi_sh_msiof: consolidate data in 8-bit mode into 32-bit words 2011-01-21 10:02:35 -07:00
spi_sh_sci.c
spi_sh.c spi: add support for SuperH SPI 2011-02-22 14:59:54 -07:00
spi_stmp.c
spi_tegra.c spi: tegra: don't treat NULL clk as an error 2011-01-10 16:44:01 -07:00
spi_topcliff_pch.c spi/topcliff: Typo fix threhold to threshold 2010-12-31 17:49:30 -07:00
spi_txx9.c
spi.c spi / PM: Support dev_pm_ops 2010-12-25 15:32:27 +01:00
spidev.c spi/spidev: Add 32 bit compat ioctl() 2011-02-03 09:55:43 -07:00
tle62x0.c
xilinx_spi.c driver-core: remove conditionals around devicetree pointers 2011-01-21 09:24:48 -07:00