diff options
| author | Florian Boor <florian.boor@kernelconcepts.de> | 2006-05-08 13:31:52 +0000 |
|---|---|---|
| committer | OpenEmbedded Project <openembedded-devel@lists.openembedded.org> | 2006-05-08 13:31:52 +0000 |
| commit | a307e199dcf6316c7dc5459d6ffeb96631ff7dc0 (patch) | |
| tree | 5e406ab3a3ca5f9542b41d5c6589a4b00152b2d0 /packages/linux/linux-openzaurus-2.6.16+git/rmk-mmc2.patch | |
| parent | 0b83298ad4d58a3e40559b1f4d76781f6e47343c (diff) | |
| parent | 822baffe340d4267ea436fc7e197fd3b03b32825 (diff) | |
merge of 055fac88594cb867a9e5f8bc0c610cd1d94dad73
and 1b82a010f298211ce50ff06d99b1761cedbb5d3a
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.patch | 26 |
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 + |
