aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/generic-2.6/patches-2.6.28/920-02-spi-gpio-without-cs.patch
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2009-02-15 06:26:27 +0000
committerGabor Juhos <juhosg@openwrt.org>2009-02-15 06:26:27 +0000
commit97dde3b72d502f4a67eb49ea9c8a6b97ebc54946 (patch)
tree92afabc15b1c26a108f7cf450cd32ab658499ad1 /target/linux/generic-2.6/patches-2.6.28/920-02-spi-gpio-without-cs.patch
parent7ef75e79cee3753c79d04077d75a3e2a3a46f4bd (diff)
downloadupstream-97dde3b72d502f4a67eb49ea9c8a6b97ebc54946.tar.gz
upstream-97dde3b72d502f4a67eb49ea9c8a6b97ebc54946.tar.bz2
upstream-97dde3b72d502f4a67eb49ea9c8a6b97ebc54946.zip
update to 2.6.28.5
SVN-Revision: 14512
Diffstat (limited to 'target/linux/generic-2.6/patches-2.6.28/920-02-spi-gpio-without-cs.patch')
-rw-r--r--target/linux/generic-2.6/patches-2.6.28/920-02-spi-gpio-without-cs.patch12
1 files changed, 4 insertions, 8 deletions
diff --git a/target/linux/generic-2.6/patches-2.6.28/920-02-spi-gpio-without-cs.patch b/target/linux/generic-2.6/patches-2.6.28/920-02-spi-gpio-without-cs.patch
index a67ec59532..8b2198ef14 100644
--- a/target/linux/generic-2.6/patches-2.6.28/920-02-spi-gpio-without-cs.patch
+++ b/target/linux/generic-2.6/patches-2.6.28/920-02-spi-gpio-without-cs.patch
@@ -4,10 +4,8 @@ Optionally omit the CS signal, if there's only one device on the bus.
-Index: linux-2.6.28.2/drivers/spi/spi_gpio.c
-===================================================================
---- linux-2.6.28.2.orig/drivers/spi/spi_gpio.c 2009-02-11 18:48:23.000000000 +0100
-+++ linux-2.6.28.2/drivers/spi/spi_gpio.c 2009-02-11 18:48:50.000000000 +0100
+--- a/drivers/spi/spi_gpio.c
++++ b/drivers/spi/spi_gpio.c
@@ -178,8 +178,10 @@ static void spi_gpio_chipselect(struct s
if (is_active)
setsck(spi, spi->mode & SPI_CPOL);
@@ -54,10 +52,8 @@ Index: linux-2.6.28.2/drivers/spi/spi_gpio.c
spi_bitbang_cleanup(spi);
}
-Index: linux-2.6.28.2/include/linux/spi/spi_gpio.h
-===================================================================
---- linux-2.6.28.2.orig/include/linux/spi/spi_gpio.h 2009-02-11 18:48:23.000000000 +0100
-+++ linux-2.6.28.2/include/linux/spi/spi_gpio.h 2009-02-11 18:58:31.000000000 +0100
+--- a/include/linux/spi/spi_gpio.h
++++ b/include/linux/spi/spi_gpio.h
@@ -25,10 +25,16 @@
* ...
* };