|
|
Up |
|
|
  |
Author: Ben DooksBen Dooks Date: Jun 6, 2008 08:56
Fix the request finalisation by ensuring the controller
is stopped.
Signed-off-by: Ben Dooks fluff.org>
Signed-off-by: Harald Welte openmoko.org>
Index: linux-2.6.26-rc5-q/drivers/mmc/host/s3cmci.c
===================================================================
--- linux-2.6.26-rc5-q.orig/drivers/mmc/host/s3cmci.c 2008-06-06 15:45:59.000000000 +0100
+++ linux-2.6.26-rc5-q/drivers/mmc/host/s3cmci.c 2008-06-06 15:46:01.000000000 +0100
@@ -662,7 +662,7 @@ static void finalize_request(struct s3cm
#endif
//Cleanup controller
writel(0, host->base + S3C2410_SDICMDARG);
- writel(0, host->base + S3C2410_SDIDCON);
+ writel(S3C2410_SDIDCON_STOP, host->base + S3C2410_SDIDCON);
writel(0, host->base + S3C2410_SDICMDCON);
writel(0, host->base + host->sdiimsk);
@@ -789,7 +789,7 @@ static int s3cmci_setup_data(struct s3cm
dbg(host, dbg_err,
"mci_setup_data() transfer stillin progress.\n");
|
| Show full article (1.42Kb) |
|
| | no comments |
|
  |
|
|
|