projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
24bbd7d
)
mmc: msm_sdcc: Don't set host->curr.mrq until after we're sure the busclk timer won...
author
Dmitry Shmidt
<dimitrysh@google.com>
Thu, 3 Dec 2009 01:21:07 +0000
(17:21 -0800)
committer
Daniel Walker
<dwalker@codeaurora.org>
Thu, 18 Mar 2010 20:37:21 +0000
(13:37 -0700)
Signed-off-by: San Mehat <san@google.com>
Signed-off-by: Daniel Walker <dwalker@codeaurora.org>
drivers/mmc/host/msm_sdcc.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/mmc/host/msm_sdcc.c
b/drivers/mmc/host/msm_sdcc.c
index d42a2dd693251ede722b631071b3f7a1721f013c..28899ee392e2e789b29a215560dfb40799f65fe9 100644
(file)
--- a/
drivers/mmc/host/msm_sdcc.c
+++ b/
drivers/mmc/host/msm_sdcc.c
@@
-853,8
+853,6
@@
msmsdcc_request(struct mmc_host *mmc, struct mmc_request *mrq)
return;
}
- host->curr.mrq = mrq;
-
/* Need to drop the host lock here in case
* the busclk wd fires
*/
@@
-863,6
+861,8
@@
msmsdcc_request(struct mmc_host *mmc, struct mmc_request *mrq)
msmsdcc_enable_clocks(host);
spin_lock_irqsave(&host->lock, flags);
+ host->curr.mrq = mrq;
+
if (mrq->data && mrq->data->flags & MMC_DATA_READ)
/* Queue/read data, daisy-chain command when data starts */
msmsdcc_start_data(host, mrq->data, mrq->cmd, 0);