linux/drivers/spi
Michael Buesch be50344e60 spi-gpio: sanitize MISO bitvalue
gpio_get_value() returns 0 or nonzero, but getmiso() expects 0 or 1.
Sanitize the value to a 0/1 boolean.

Signed-off-by: Michael Buesch <mb@bu3sch.de>
Acked-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>
2009-02-18 15:37:56 -08:00
..
atmel_spi.c
atmel_spi.h
au1550_spi.c
Kconfig
Makefile
mpc52xx_psc_spi.c
omap2_mcspi.c
omap_uwire.c
orion_spi.c
pxa2xx_spi.c
spi_bfin5xx.c
spi_bitbang.c
spi_butterfly.c
spi_gpio.c spi-gpio: sanitize MISO bitvalue 2009-02-18 15:37:56 -08:00
spi_imx.c
spi_lm70llp.c
spi_mpc83xx.c
spi_s3c24xx_gpio.c
spi_s3c24xx.c
spi_sh_sci.c
spi_txx9.c
spi.c
spidev.c
tle62x0.c
xilinx_spi.c