mirror of
https://github.com/torvalds/linux.git
synced 2024-11-14 08:02:07 +00:00
65e213cdb2
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> |
||
---|---|---|
.. | ||
at25.c | ||
atmel_spi.c | ||
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_s3c24xx_gpio.c | ||
spi_s3c24xx.c | ||
spi_txx9.c | ||
spi.c | ||
spidev.c | ||
tle62x0.c | ||
xilinx_spi.c |