summaryrefslogtreecommitdiff
path: root/packages/linux/linux-openzaurus-2.6.16+git/rmk-mmc2.patch
diff options
context:
space:
mode:
authorErik Hovland <erik@hovland.org>2006-05-08 18:59:10 +0000
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>2006-05-08 18:59:10 +0000
commit7ed412e1e868f20a0e803e91e3d7e3529f61b44e (patch)
treee8fb8fb8ea912ff29dca4bfdc0ce0e1aca3bc0a5 /packages/linux/linux-openzaurus-2.6.16+git/rmk-mmc2.patch
parent07423bdbbb7ce2d14455d6b886d4b0156cd28a18 (diff)
parent9e3e9161817697df633d46cc88f0ce9e8365c032 (diff)
merge of 406934f50b9f92db47af1cb9d9777b268c5484b5
and 6ba2bb7b7ce5ef334cf514386df28b8d6a2aad86
Diffstat (limited to 'packages/linux/linux-openzaurus-2.6.16+git/rmk-mmc2.patch')
-rw-r--r--packages/linux/linux-openzaurus-2.6.16+git/rmk-mmc2.patch26
1 files changed, 26 insertions, 0 deletions
diff --git a/packages/linux/linux-openzaurus-2.6.16+git/rmk-mmc2.patch b/packages/linux/linux-openzaurus-2.6.16+git/rmk-mmc2.patch
new file mode 100644
index 0000000000..cef02436d6
--- /dev/null
+++ b/packages/linux/linux-openzaurus-2.6.16+git/rmk-mmc2.patch
@@ -0,0 +1,26 @@
+
+Always send a stop command at the end of a data transfer. If we avoid
+sending the stop command, some cards remain in data transfer mode, and
+refuse to accept further read/write commands.
+
+Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
+
+diff --git a/drivers/mmc/pxamci.c b/drivers/mmc/pxamci.c
+--- a/drivers/mmc/pxamci.c
++++ b/drivers/mmc/pxamci.c
+@@ -291,7 +291,7 @@ static int pxamci_data_done(struct pxamc
+ pxamci_disable_irq(host, DATA_TRAN_DONE);
+
+ host->data = NULL;
+- if (host->mrq->stop && data->error == MMC_ERR_NONE) {
++ if (host->mrq->stop) {
+ pxamci_stop_clock(host);
+ pxamci_start_cmd(host, host->mrq->stop, 0);
+ } else {
+
+
+-------------------------------------------------------------------
+List admin: http://lists.arm.linux.org.uk/mailman/listinfo/linux-arm-kernel
+FAQ: http://www.arm.linux.org.uk/mailinglists/faq.php
+Etiquette: http://www.arm.linux.org.uk/mailinglists/etiquette.php
+