projects
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
base-files: show boot state on intramfs images
[openwrt.git]
/
target
/
linux
/
xburst
/
patches-2.6.32
/
400-spi-gpio-3wire.patch
diff --git
a/target/linux/xburst/patches-2.6.32/400-spi-gpio-3wire.patch
b/target/linux/xburst/patches-2.6.32/400-spi-gpio-3wire.patch
index
dc81a67
..
fff1853
100644
(file)
--- a/
target/linux/xburst/patches-2.6.32/400-spi-gpio-3wire.patch
+++ b/
target/linux/xburst/patches-2.6.32/400-spi-gpio-3wire.patch
@@
-7,11
+7,9
@@
Subject: [PATCH] /opt/Projects/openwrt/target/linux/xburst/patches-2.6.31/400-sp
drivers/spi/spi_gpio.c | 14 +++++++++-----
1 files changed, 9 insertions(+), 5 deletions(-)
drivers/spi/spi_gpio.c | 14 +++++++++-----
1 files changed, 9 insertions(+), 5 deletions(-)
-diff --git a/drivers/spi/spi_gpio.c b/drivers/spi/spi_gpio.c
-index 26bd03e..5f89c21 100644
--- a/drivers/spi/spi_gpio.c
+++ b/drivers/spi/spi_gpio.c
--- a/drivers/spi/spi_gpio.c
+++ b/drivers/spi/spi_gpio.c
-@@ -2
43,9 +243,11 @@ spi_gpio_request(struct spi_gpio_platform_data *pdata, const char *label)
+@@ -2
54,9 +254,11 @@ spi_gpio_request(struct spi_gpio_platfor
if (value)
goto done;
if (value)
goto done;
@@
-26,7
+24,7
@@
index 26bd03e..5f89c21 100644
value = spi_gpio_alloc(SPI_SCK_GPIO, label, false);
if (value)
value = spi_gpio_alloc(SPI_SCK_GPIO, label, false);
if (value)
-@@ -3
08,7 +310,8 @@ static int __init spi_gpio_probe(struct platform_device *pdev)
+@@ -3
19,7 +321,8 @@ static int __devinit spi_gpio_probe(stru
if (status < 0) {
spi_master_put(spi_gpio->bitbang.master);
gpio_free:
if (status < 0) {
spi_master_put(spi_gpio->bitbang.master);
gpio_free:
@@
-36,7
+34,7
@@
index 26bd03e..5f89c21 100644
gpio_free(SPI_MOSI_GPIO);
gpio_free(SPI_SCK_GPIO);
spi_master_put(master);
gpio_free(SPI_MOSI_GPIO);
gpio_free(SPI_SCK_GPIO);
spi_master_put(master);
-@@ -3
32,7 +335,8 @@ static int __exit spi_gpio_remove(struct platform_device *pdev)
+@@ -3
43,7 +346,8 @@ static int __devexit spi_gpio_remove(str
platform_set_drvdata(pdev, NULL);
platform_set_drvdata(pdev, NULL);
@@
-46,6
+44,3
@@
index 26bd03e..5f89c21 100644
gpio_free(SPI_MOSI_GPIO);
gpio_free(SPI_SCK_GPIO);
gpio_free(SPI_MOSI_GPIO);
gpio_free(SPI_SCK_GPIO);
---
-1.5.6.5
-
This page took
0.020527 seconds
and
4
git commands to generate.