android_kernel_xiaomi_sm8350/drivers/spi
Atsushi Nemoto dbf763a2f1 SPI: spi_txx9: Fix bit rate calculation
TXx9 SPI bit rate is calculated by:
        fBR = (spi-baseclk) / (n + 1)
Fix calculation of min_speed_hz, max_speed_hz and n.

Signed-off-by: Atsushi Nemoto <anemo@mba.ocn.ne.jp>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
2009-12-02 23:58:32 +00:00
..
amba-pl022.c ARM: 5741/1: pl022: fix peripheral id for ST vendor 2009-10-05 17:55:55 +01:00
atmel_spi.c
atmel_spi.h
au1550_spi.c
Kconfig spi: Freescale STMP driver 2009-09-23 07:39:44 -07:00
Makefile spi-imx: rename source file to spi_imx.c 2009-10-01 16:11:16 -07:00
mpc52xx_psc_spi.c
omap2_mcspi.c spi: McSPI support for OMAP4 2009-09-23 07:39:44 -07:00
omap_uwire.c trivial: remove unnecessary semicolons 2009-09-21 15:14:58 +02:00
orion_spi.c
pxa2xx_spi.c Merge branch 'origin' into for-linus 2009-09-24 21:22:33 +01:00
spi_bfin5xx.c
spi_bitbang.c
spi_butterfly.c
spi_gpio.c
spi_imx.c spi-imx: strip down chipselect function to only drive the chipselect 2009-10-01 16:11:17 -07:00
spi_lm70llp.c
spi_mpc8xxx.c
spi_ppc4xx.c spi: add spi_ppc4xx driver 2009-09-23 07:39:43 -07:00
spi_s3c24xx_gpio.c
spi_s3c24xx.c spi_s3c24xx: cache device setup data 2009-09-23 07:39:44 -07:00
spi_sh_sci.c
spi_stmp.c spi: error status should be negative 2009-11-17 17:40:32 -08:00
spi_txx9.c SPI: spi_txx9: Fix bit rate calculation 2009-12-02 23:58:32 +00:00
spi.c spi: handle TX-only/RX-only 2009-09-23 07:39:44 -07:00
spidev.c const: constify remaining file_operations 2009-10-01 16:11:11 -07:00
tle62x0.c spi: prefix modalias with "spi:" 2009-09-23 07:39:43 -07:00
xilinx_spi.c