summaryrefslogtreecommitdiff
path: root/recipes/linux/linux-2.6.32/mtcdp-embedded/linux-2.6.32.3-atmel_spi.patch
diff options
context:
space:
mode:
authorJesse Gilles <jgilles@multitech.com>2011-03-07 16:35:15 -0600
committerJesse Gilles <jgilles@multitech.com>2011-03-07 16:35:15 -0600
commita261a5c7c813a14a95d6ac5f2176323869f3ea96 (patch)
tree2856dcd63cd45aedec8795a4e3fe3f0c7e935d11 /recipes/linux/linux-2.6.32/mtcdp-embedded/linux-2.6.32.3-atmel_spi.patch
parentee2042a17c2f85d7197ef834adbec1ae558b8ed5 (diff)
added mtcdp-embedded machine type
Diffstat (limited to 'recipes/linux/linux-2.6.32/mtcdp-embedded/linux-2.6.32.3-atmel_spi.patch')
-rw-r--r--recipes/linux/linux-2.6.32/mtcdp-embedded/linux-2.6.32.3-atmel_spi.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/recipes/linux/linux-2.6.32/mtcdp-embedded/linux-2.6.32.3-atmel_spi.patch b/recipes/linux/linux-2.6.32/mtcdp-embedded/linux-2.6.32.3-atmel_spi.patch
new file mode 100644
index 0000000000..a7b87b3c35
--- /dev/null
+++ b/recipes/linux/linux-2.6.32/mtcdp-embedded/linux-2.6.32.3-atmel_spi.patch
@@ -0,0 +1,12 @@
+diff -uprN -X linux-2.6.32.3/Documentation/dontdiff linux-2.6.32.3-vanilla/drivers/spi/atmel_spi.c linux-2.6.32.3/drivers/spi/atmel_spi.c
+--- linux-2.6.32.3-vanilla/drivers/spi/atmel_spi.c 2010-01-06 17:07:45.000000000 -0600
++++ linux-2.6.32.3/drivers/spi/atmel_spi.c 2010-09-08 13:38:52.000000000 -0500
+@@ -768,7 +768,7 @@ static int __init atmel_spi_probe(struct
+ master->mode_bits = SPI_CPOL | SPI_CPHA | SPI_CS_HIGH;
+
+ master->bus_num = pdev->id;
+- master->num_chipselect = 4;
++ master->num_chipselect = 7;
+ master->setup = atmel_spi_setup;
+ master->transfer = atmel_spi_transfer;
+ master->cleanup = atmel_spi_cleanup;