summaryrefslogtreecommitdiffstats
path: root/drivers/mmc
diff options
context:
space:
mode:
authorSan Mehat <san@google.com>2009-11-25 11:16:57 -0800
committerDaniel Walker <dwalker@codeaurora.org>2010-03-18 13:37:19 -0700
commit673ce00d7cb4ec060b5091992959da4a1d91c634 (patch)
tree88b3309b738f9a0a214a335aafb030d10ff02c27 /drivers/mmc
parentb3b0ca84cfec581fba3ea8efaa8052cb5e6fc857 (diff)
downloadop-kernel-dev-673ce00d7cb4ec060b5091992959da4a1d91c634.zip
op-kernel-dev-673ce00d7cb4ec060b5091992959da4a1d91c634.tar.gz
mmc: msm_sdcc: Don't disable interrupts while suspending
Signed-off-by: San Mehat <san@google.com> Signed-off-by: Daniel Walker <dwalker@codeaurora.org>
Diffstat (limited to 'drivers/mmc')
-rw-r--r--drivers/mmc/host/msm_sdcc.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/mmc/host/msm_sdcc.c b/drivers/mmc/host/msm_sdcc.c
index 3ea6697..6e50939 100644
--- 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);
}
OpenPOWER on IntegriCloud