android_kernel_xiaomi_sm8350/drivers/spi
Jan Andersson 65e213cdb2 spi_mpc83xx: hang fix
When the spi_mpc83xx driver receives a tx_buf pointer which is NULL, it
only writes one zero filled word to the transmit register.  If the driver
expects to receive more than one word it will wait forever for a second
receive interrupt.  With this patch the controller will shift out zeroes
until all words have been received.

Signed-off-by: Jan Andersson <jan@gaisler.com>
Tested-by: Anton Vorontsov <avorontsov@ru.mvista.com>
Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Acked-by: Kumar Gala <galak@kernel.crashing.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2007-09-11 17:21:19 -07:00
..
at25.c
atmel_spi.c Fix typo in atmel_spi.c 2007-08-31 01:42:23 -07:00
atmel_spi.h
au1550_spi.c
Kconfig
Makefile
mpc52xx_psc_spi.c
omap2_mcspi.c
omap_uwire.c
pxa2xx_spi.c
spi_bfin5xx.c
spi_bitbang.c
spi_butterfly.c
spi_imx.c
spi_lm70llp.c
spi_mpc83xx.c spi_mpc83xx: hang fix 2007-09-11 17:21:19 -07:00
spi_s3c24xx_gpio.c
spi_s3c24xx.c
spi_txx9.c
spi.c
spidev.c
tle62x0.c
xilinx_spi.c