aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/sunxi/patches-3.13/154-mmc-update-compat-nodes.patch
diff options
context:
space:
mode:
authorZoltan HERPAI <wigyori@uid0.hu>2014-02-05 08:42:28 +0000
committerZoltan HERPAI <wigyori@uid0.hu>2014-02-05 08:42:28 +0000
commitd1ca9d207acc1056bd460f7cba2f50af87004f58 (patch)
tree3ec56a328c48048eb595e971cf2f7f51e73404ed /target/linux/sunxi/patches-3.13/154-mmc-update-compat-nodes.patch
parent1dd76f71e1aa7e8dae83aed641ac527ac4f8fadd (diff)
downloadupstream-d1ca9d207acc1056bd460f7cba2f50af87004f58.tar.gz
upstream-d1ca9d207acc1056bd460f7cba2f50af87004f58.tar.bz2
upstream-d1ca9d207acc1056bd460f7cba2f50af87004f58.zip
sunxi: initial 3.13 support
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39471 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/sunxi/patches-3.13/154-mmc-update-compat-nodes.patch')
-rw-r--r--target/linux/sunxi/patches-3.13/154-mmc-update-compat-nodes.patch23
1 files changed, 23 insertions, 0 deletions
diff --git a/target/linux/sunxi/patches-3.13/154-mmc-update-compat-nodes.patch b/target/linux/sunxi/patches-3.13/154-mmc-update-compat-nodes.patch
new file mode 100644
index 0000000000..5de609374b
--- /dev/null
+++ b/target/linux/sunxi/patches-3.13/154-mmc-update-compat-nodes.patch
@@ -0,0 +1,23 @@
+diff -ruN old/drivers/mmc/host/sunxi-mci.c new/drivers/mmc/host/sunxi-mci.c
+--- old/drivers/mmc/host/sunxi-mci.c 2014-01-22 23:41:25.000000000 +0100
++++ new/drivers/mmc/host/sunxi-mci.c 2014-01-28 16:55:24.000000000 +0100
+@@ -715,8 +715,8 @@
+ }
+
+ static const struct of_device_id sunxi_mmc_of_match[] = {
+- { .compatible = "allwinner,sun4i-mmc", },
+- { .compatible = "allwinner,sun5i-mmc", },
++ { .compatible = "allwinner,sun4i-a10-mmc", },
++ { .compatible = "allwinner,sun5i-a13-mmc", },
+ { /* sentinel */ }
+ };
+ MODULE_DEVICE_TABLE(of, sunxi_mmc_of_match);
+@@ -736,7 +736,7 @@
+ struct device_node *np = pdev->dev.of_node;
+ int ret;
+
+- if (of_device_is_compatible(np, "allwinner,sun4i-mmc"))
++ if (of_device_is_compatible(np, "allwinner,sun4i-a10-mmc"))
+ host->idma_des_size_bits = 13;
+ else
+ host->idma_des_size_bits = 16;