1
linux/drivers/spi
Hans-Peter Nilsson 7f8c7619ea [PATCH] spi_bitbang(): use overridable setup_transfer() method
A small bug-fix for spi_bitbang: it must always call the setup_transfer
function via the overridable pointer, not assume that its
spi_bitbang_setup_transfer is sufficient.  Otherwise, if all options in the
transfers are default (0), the overrided function will never be called.

Granted, the function replacing it must call spi_bitbang_setup_transfer,
but it might also have other important things to do, even if the second
argument (the spi_transfer) is NULL.  Tested together with the other
patches on the spi_crisv32_sser and spi_crisv32_gpio drivers (not yet in
the kernel, will IIUC be submitted as part of the usual
arch-maintainer-pushes).

Signed-off-by: Hans-Peter Nilsson <hp@axis.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>
2007-02-12 09:48:31 -08:00
..
Kconfig [PATCH] SPI: Freescale iMX SPI controller driver (BIS+) 2007-02-12 09:48:30 -08:00
Makefile [PATCH] SPI: Freescale iMX SPI controller driver (BIS+) 2007-02-12 09:48:30 -08:00
omap_uwire.c [PATCH] SPI controller driver for OMAP Microwire 2007-02-12 09:48:30 -08:00
pxa2xx_spi.c Revert "Driver core: convert SPI code to use struct device" 2007-02-07 21:34:08 -08:00
spi_bitbang.c [PATCH] spi_bitbang(): use overridable setup_transfer() method 2007-02-12 09:48:31 -08:00
spi_butterfly.c Revert "Driver core: convert SPI code to use struct device" 2007-02-07 21:34:08 -08:00
spi_imx.c [PATCH] SPI: Freescale iMX SPI controller driver (BIS+) 2007-02-12 09:48:30 -08:00
spi_mpc83xx.c [PATCH] SPI: define null tx_buf to mean "shift out zeroes" 2006-12-30 10:56:42 -08:00
spi_s3c24xx_gpio.c [PATCH] spi_s3c24xx_gpio: use right header 2006-12-30 10:56:43 -08:00
spi_s3c24xx.c [PATCH] S3C24XX: fix passing spi chipselect to select routine 2007-01-26 13:50:57 -08:00
spi.c Revert "Driver core: convert SPI code to use struct device" 2007-02-07 21:34:08 -08:00