aboutsummaryrefslogtreecommitdiffstats
path: root/with-linux-3.4/mvsdio-1-2.6.30.patch
diff options
context:
space:
mode:
authorThiago Jung Bauermann <thiago.bauermann@gmail.com>2012-05-30 23:33:10 -0300
committerThiago Jung Bauermann <thiago.bauermann@gmail.com>2012-05-30 23:33:10 -0300
commitb6be6e02f9bdecfb00b1264d7dfdf453badaba34 (patch)
treefc3000dc60968166cc268864d2357d58ee1544cc /with-linux-3.4/mvsdio-1-2.6.30.patch
downloaddreamplug-libertas_uap-b6be6e02f9bdecfb00b1264d7dfdf453badaba34.tar.gz
dreamplug-libertas_uap-b6be6e02f9bdecfb00b1264d7dfdf453badaba34.zip
Initial commit.
Diffstat (limited to 'with-linux-3.4/mvsdio-1-2.6.30.patch')
-rw-r--r--with-linux-3.4/mvsdio-1-2.6.30.patch18
1 files changed, 18 insertions, 0 deletions
diff --git a/with-linux-3.4/mvsdio-1-2.6.30.patch b/with-linux-3.4/mvsdio-1-2.6.30.patch
new file mode 100644
index 0000000..63f0156
--- /dev/null
+++ b/with-linux-3.4/mvsdio-1-2.6.30.patch
@@ -0,0 +1,18 @@
+--- ./drivers/mmc/host/mvsdio.c.orig 2009-06-09 21:05:27.000000000 -0600
++++ ./drivers/mmc/host/mvsdio.c 2009-06-23 23:20:36.085662093 -0600
+@@ -21,6 +21,7 @@
+ #include <linux/irq.h>
+ #include <linux/gpio.h>
+ #include <linux/mmc/host.h>
++#include <linux/mmc/sd.h>
+
+ #include <asm/sizes.h>
+ #include <asm/unaligned.h>
+@@ -148,6 +149,7 @@ static void mvsd_request(struct mmc_host
+
+ dev_dbg(host->dev, "cmd %d (hw state 0x%04x)\n",
+ cmd->opcode, mvsd_read(MVSD_HW_STATE));
++ if (cmd->opcode == SD_SWITCH) mdelay(1); /* Voodoo */
+
+ cmdreg = MVSD_CMD_INDEX(cmd->opcode);
+