summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorQuinn Jensen <quinn.jensen@freescale.com>2007-10-24 21:26:11 -0600
committerQuinn Jensen <quinn.jensen@freescale.com>2007-10-24 21:26:11 -0600
commit5b57bf9ecb2cdd39576c9d8d4e04355e1d857d02 (patch)
treef5372245b2c5b6a0f51f95aab5217accd2939bf6
parent4c7ac446021b95acb5befcf7a01051730e930359 (diff)
Bugzilla 784 - Fixed MMC/SD error -110
Patch for Bugzilla 784 - Fixed MMC/SD error -110 on linux 2.6.22 kernel for MX platforms. MMC_ERR_NONE transform in mxc_mmc.c was misapplied in one instance http://www.bitshrine.org/gpp/linux-2.6.22-mx-Bugzilla-784-Fixed-MMC-SD-error-110.patch
-rw-r--r--drivers/mmc/host/mxc_mmc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mmc/host/mxc_mmc.c b/drivers/mmc/host/mxc_mmc.c
index aa0f4ac6875a..261952a37ad0 100644
--- a/drivers/mmc/host/mxc_mmc.c
+++ b/drivers/mmc/host/mxc_mmc.c
@@ -738,7 +738,7 @@ static int mxcmci_data_done(struct mxcmci_host *host, unsigned int stat)
host->data = NULL;
data->bytes_xfered = host->dma_size;
- if (host->req->stop && data->error) {
+ if (host->req->stop && !data->error) {
mxcmci_start_cmd(host, host->req->stop, 0);
} else {
mxcmci_finish_request(host, host->req);