aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/mmc/host/msm_sdcc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/mmc/host/msm_sdcc.c b/drivers/mmc/host/msm_sdcc.c
index d42a2dd69325..28899ee392e2 100644
--- 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)
853 return; 853 return;
854 } 854 }
855 855
856 host->curr.mrq = mrq;
857
858 /* Need to drop the host lock here in case 856 /* Need to drop the host lock here in case
859 * the busclk wd fires 857 * the busclk wd fires
860 */ 858 */
@@ -863,6 +861,8 @@ msmsdcc_request(struct mmc_host *mmc, struct mmc_request *mrq)
863 msmsdcc_enable_clocks(host); 861 msmsdcc_enable_clocks(host);
864 spin_lock_irqsave(&host->lock, flags); 862 spin_lock_irqsave(&host->lock, flags);
865 863
864 host->curr.mrq = mrq;
865
866 if (mrq->data && mrq->data->flags & MMC_DATA_READ) 866 if (mrq->data && mrq->data->flags & MMC_DATA_READ)
867 /* Queue/read data, daisy-chain command when data starts */ 867 /* Queue/read data, daisy-chain command when data starts */
868 msmsdcc_start_data(host, mrq->data, mrq->cmd, 0); 868 msmsdcc_start_data(host, mrq->data, mrq->cmd, 0);