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:
b3b0ca8
)
mmc: msm_sdcc: Don't disable interrupts while suspending
author
San Mehat
<san@google.com>
Wed, 25 Nov 2009 19:16:57 +0000
(11:16 -0800)
committer
Daniel Walker
<dwalker@codeaurora.org>
Thu, 18 Mar 2010 20:37:19 +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 3ea66971edfc25f76a92a927374d023e92f1396c..6e50939b6f88f9a4104c450b069162c1156811a0 100644
(file)
--- a/
drivers/mmc/host/msm_sdcc.c
+++ b/
drivers/mmc/host/msm_sdcc.c
@@
-1315,12
+1315,10
@@
msmsdcc_suspend(struct platform_device *dev, pm_message_t state)
{
struct mmc_host *mmc = mmc_get_drvdata(dev);
int rc = 0;
- unsigned long flags;
if (mmc) {
struct msmsdcc_host *host = mmc_priv(mmc);
- spin_lock_irqsave(&host->lock, flags);
if (host->stat_irq)
disable_irq(host->stat_irq);
@@
-1330,7
+1328,6
@@
msmsdcc_suspend(struct platform_device *dev, pm_message_t state)
msmsdcc_writel(host, 0, MMCIMASK0);
}
- spin_unlock_irqrestore(&host->lock, flags);
if (host->clks_on)
msmsdcc_disable_clocks(host, 0);
}