summaryrefslogtreecommitdiff
path: root/recipes/linux/linux-2.6.32/mtcdp/linux-2.6.32.3-at91_mci.patch
diff options
context:
space:
mode:
authorJames Maki <jmaki@multitech.com>2010-09-17 11:28:44 -0500
committerJames Maki <jmaki@multitech.com>2010-09-17 11:28:44 -0500
commit510cc46864062d1dbc9c66d9dbb6ea330842584e (patch)
tree5d14cfddb28690ed0333d2e8fddc741fe392091d /recipes/linux/linux-2.6.32/mtcdp/linux-2.6.32.3-at91_mci.patch
parent348a6d4aa8fe70345c313cee49b737b8d7456d10 (diff)
update linux-2.6.32.3 kernel patches
- patch at91_mci to use 4 wire mode for sam9g20
Diffstat (limited to 'recipes/linux/linux-2.6.32/mtcdp/linux-2.6.32.3-at91_mci.patch')
-rw-r--r--recipes/linux/linux-2.6.32/mtcdp/linux-2.6.32.3-at91_mci.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/recipes/linux/linux-2.6.32/mtcdp/linux-2.6.32.3-at91_mci.patch b/recipes/linux/linux-2.6.32/mtcdp/linux-2.6.32.3-at91_mci.patch
new file mode 100644
index 0000000000..3d4296aebd
--- /dev/null
+++ b/recipes/linux/linux-2.6.32/mtcdp/linux-2.6.32.3-at91_mci.patch
@@ -0,0 +1,12 @@
+diff -uprN -X linux-2.6.32.3/Documentation/dontdiff linux-2.6.32.3-vanilla/drivers/mmc/host/at91_mci.c linux-2.6.32.3/drivers/mmc/host/at91_mci.c
+--- linux-2.6.32.3-vanilla/drivers/mmc/host/at91_mci.c 2010-01-06 17:07:45.000000000 -0600
++++ linux-2.6.32.3/drivers/mmc/host/at91_mci.c 2010-09-17 10:42:23.000000000 -0500
+@@ -1017,7 +1017,7 @@ static int __init at91_mci_probe(struct
+ host->bus_mode = 0;
+ host->board = pdev->dev.platform_data;
+ if (host->board->wire4) {
+- if (cpu_is_at91sam9260() || cpu_is_at91sam9263())
++ if (cpu_is_at91sam9260() || cpu_is_at91sam9g20() || cpu_is_at91sam9263())
+ mmc->caps |= MMC_CAP_4_BIT_DATA;
+ else
+ dev_warn(&pdev->dev, "4 wire bus mode not supported"