linux/drivers/spi
Haavard Skinnemoen 8bacb21901 atmel_spi: fix dmachain oops with DEBUG enabled
In atmel_spi_next_xfer, xfer can be NULL because the next transfer may
already have been submitted to the PDC (using DMA chaining).  This can
cause an oops, since the debug message assumed it was never null.  The
fix changes how those debug messages are issued, ensuring that one is
issued each time a transfer is started instead of once per call.

Also, properly indent the "can this transfer be chained" test so it's
not hidden as if it were non-conditional code.

Signed-off-by: Haavard Skinnemoen <hskinnemoen@atmel.com>
Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2008-02-06 10:41:10 -08:00
..
at25.c
atmel_spi.c atmel_spi: fix dmachain oops with DEBUG enabled 2008-02-06 10:41:10 -08:00
atmel_spi.h
au1550_spi.c
Kconfig
Makefile
mpc52xx_psc_spi.c [POWERPC] mpc52xx_psc_spi device driver must not touch port_config and cdm 2008-01-26 15:32:19 -07:00
omap2_mcspi.c
omap_uwire.c
pxa2xx_spi.c
spi.c spi core: stop updating dev->power.power_state 2008-02-06 10:41:10 -08:00
spi_bfin5xx.c Remove pointless casts from void pointers 2008-02-06 10:41:01 -08:00
spi_bitbang.c
spi_butterfly.c
spi_imx.c Spelling fixes: lenght->length 2008-02-03 15:42:53 +02:00
spi_lm70llp.c
spi_mpc83xx.c spi_mpc83xx: use brg-frequency for SPI in QE 2008-01-28 08:32:57 -06:00
spi_s3c24xx.c
spi_s3c24xx_gpio.c
spi_txx9.c
spidev.c
tle62x0.c
xilinx_spi.c