Messages in this thread Patch in this message | | | From | Daniel Walker <> | Subject | [PATCH 3/5] mmc: msm: fix msmsdcc_disable_clocks spinlock protection | Date | Mon, 20 Dec 2010 15:16:49 -0800 |
| |
The function msmsdcc_disable_clocks needs to be called with the host lock held.
Signed-off-by: Daniel Walker <dwalker@codeaurora.org> --- drivers/mmc/host/msm_sdcc.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/mmc/host/msm_sdcc.c b/drivers/mmc/host/msm_sdcc.c index 01bb684..c64a659 100644 --- a/drivers/mmc/host/msm_sdcc.c +++ b/drivers/mmc/host/msm_sdcc.c @@ -261,10 +261,10 @@ msmsdcc_dma_complete_func(struct msm_dmov_cmd *cmd, host->curr.cmd = NULL; mrq->data->bytes_xfered = host->curr.data_xfered; - spin_unlock_irqrestore(&host->lock, flags); - msmsdcc_disable_clocks(host, 1); + spin_unlock_irqrestore(&host->lock, flags); + mmc_request_done(host->mmc, mrq); return; } else -- 1.7.0.4 -- Sent by a consultant of the Qualcomm Innovation Center, Inc. The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum.
| |