android_kernel_xiaomi_sm8350/drivers/spi
Mike Frysinger 11d6f59951 Blackfin SPI Driver: get dma working for SPI flashes
When using a BF533-STAMP here with a W25X10 SPI flash.  It works fine when
enable_dma is disabled, but doesn't work at all when turning DMA on.  We
get just 0xff bytes back when trying to read the device.

Change the code around so that it programs the SPI first and then enables
DMA, it seems to work a lot better ...

Signed-off-by: Mike Frysinger <vapier.adi@gmail.com>
Signed-off-by: Bryan Wu <cooloney@kernel.org>
Acked-by: David Brownell <dbrownell@users.sourceforge.net>
Cc: David Brownell <david-b@pacbell.net>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2009-04-07 08:31:05 -07:00
..
atmel_spi.c spi: struct device - replace bus_id with dev_name(), dev_set_name() 2009-03-24 16:38:21 -07:00
atmel_spi.h
au1550_spi.c spi: au1550_spi full duplex dma fix 2008-12-01 19:55:24 -08:00
Kconfig spi: Move at25 (for SPI eeproms) to /drivers/misc/eeprom 2009-01-26 21:19:54 +01:00
Makefile spi: Move at25 (for SPI eeproms) to /drivers/misc/eeprom 2009-01-26 21:19:54 +01:00
mpc52xx_psc_spi.c spi: struct device - replace bus_id with dev_name(), dev_set_name() 2009-03-24 16:38:21 -07:00
omap2_mcspi.c Merge branch 'origin' into devel 2009-03-28 20:29:51 +00:00
omap_uwire.c Merge branch 'origin' into devel 2009-03-28 20:29:51 +00:00
orion_spi.c spi: struct device - replace bus_id with dev_name(), dev_set_name() 2009-03-24 16:38:21 -07:00
pxa2xx_spi.c Merge branch 'origin' into devel 2009-03-28 20:29:51 +00:00
spi_bfin5xx.c Blackfin SPI Driver: get dma working for SPI flashes 2009-04-07 08:31:05 -07:00
spi_bitbang.c spi: struct device - replace bus_id with dev_name(), dev_set_name() 2009-01-06 10:44:37 -08:00
spi_butterfly.c spi: struct device - replace bus_id with dev_name(), dev_set_name() 2009-01-06 10:44:37 -08:00
spi_gpio.c spi-gpio: allow operation without CS signal 2009-04-02 19:04:51 -07:00
spi_imx.c spi: struct device - replace bus_id with dev_name(), dev_set_name() 2009-03-24 16:38:21 -07:00
spi_lm70llp.c hwmon: (lm70) Code streamlining and cleanup 2009-01-07 16:37:34 +01:00
spi_mpc83xx.c spi_mpc83xx: add OF platform driver bindings 2009-04-01 08:59:22 -07:00
spi_s3c24xx_gpio.c spi: fix spi_s3c24xx_gpio num_chipselect 2008-12-01 19:55:24 -08:00
spi_s3c24xx.c spi: use generic gpio calls in spi_s3c24xx_gpio 2009-01-06 15:59:19 -08:00
spi_sh_sci.c
spi_txx9.c spi: struct device - replace bus_id with dev_name(), dev_set_name() 2009-03-24 16:38:21 -07:00
spi.c spi: struct device - replace bus_id with dev_name(), dev_set_name() 2009-01-06 10:44:37 -08:00
spidev.c spi: avoid spidev crash when device is removed 2008-12-01 19:55:24 -08:00
tle62x0.c
xilinx_spi.c powerpc/virtex/spi: Xilinx SPI driver not releasing memory 2009-03-11 09:36:20 -06:00