summaryrefslogtreecommitdiff
path: root/openembedded/packages/linux/linux-openzaurus-2.6.16/rmk-mmc2.patch
diff options
context:
space:
mode:
authorRichard Purdie <richard@openedhand.com>2006-05-09 18:38:19 +0000
committerRichard Purdie <richard@openedhand.com>2006-05-09 18:38:19 +0000
commitb4cb437c6595ff8ac13506e502fe04b1a60c4e04 (patch)
treef529de217094f1a49049f90c49d779a49e19cd7c /openembedded/packages/linux/linux-openzaurus-2.6.16/rmk-mmc2.patch
parent3baacb49c13a48798d45e30a0a0076ca0b8c9e6a (diff)
downloadopenembedded-core-b4cb437c6595ff8ac13506e502fe04b1a60c4e04.tar.gz
openembedded-core-b4cb437c6595ff8ac13506e502fe04b1a60c4e04.tar.bz2
openembedded-core-b4cb437c6595ff8ac13506e502fe04b1a60c4e04.tar.xz
openembedded-core-b4cb437c6595ff8ac13506e502fe04b1a60c4e04.zip
Merge packages changes from OE into poky.
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@386 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'openembedded/packages/linux/linux-openzaurus-2.6.16/rmk-mmc2.patch')
-rw-r--r--openembedded/packages/linux/linux-openzaurus-2.6.16/rmk-mmc2.patch26
1 files changed, 26 insertions, 0 deletions
diff --git a/openembedded/packages/linux/linux-openzaurus-2.6.16/rmk-mmc2.patch b/openembedded/packages/linux/linux-openzaurus-2.6.16/rmk-mmc2.patch
new file mode 100644
index 000000000..cef02436d
--- /dev/null
+++ b/openembedded/packages/linux/linux-openzaurus-2.6.16/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
+