summaryrefslogtreecommitdiff
path: root/drivers/mmc
diff options
context:
space:
mode:
authorrrajk <rrajk@nvidia.com>2013-05-02 21:02:44 +0530
committerRiham Haidar <rhaidar@nvidia.com>2013-05-17 11:32:43 -0700
commit75b8944cba62e3976ee52bf1714eed6864051714 (patch)
tree97a28a96a93303aaa633d7285aa017f223acb2af /drivers/mmc
parentbea3469382f37640d636700adfe0b46bc9eccb6a (diff)
mmc: sdhci: Issue sdhci RTPM put() after tuning
sdhci RTPM get() is calling before tuning, so corresponding sdhci RTPM put() should be issued after tuning as well. Bug 1249832 Change-Id: I47fb448968db7ba889229e51366ace2f60ac1874 Reviewed-on: http://git-master/r/224915 (cherry picked from commit fdb087557256667e4303ae2d0f29b3d2dede1970) Signed-off-by: rrajk <rrajk@nvidia.com> Change-Id: I13e96c649939e9ca434e630b4a24810523f2adeb Reviewed-on: http://git-master/r/228211 Reviewed-by: Automatic_Commit_Validation_User GVS: Gerrit_Virtual_Submit Reviewed-by: Venu Byravarasu <vbyravarasu@nvidia.com>
Diffstat (limited to 'drivers/mmc')
-rw-r--r--drivers/mmc/host/sdhci.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/mmc/host/sdhci.c b/drivers/mmc/host/sdhci.c
index 22734914374f..311fa9b595ba 100644
--- a/drivers/mmc/host/sdhci.c
+++ b/drivers/mmc/host/sdhci.c
@@ -1749,6 +1749,7 @@ static int sdhci_execute_tuning(struct mmc_host *mmc, u32 opcode)
err = host->ops->execute_freq_tuning(host, opcode);
spin_unlock(&host->lock);
enable_irq(host->irq);
+ sdhci_runtime_pm_put(host);
return err;
}