diff options
author | San Mehat <san@google.com> | 2009-11-25 14:16:57 -0500 |
---|---|---|
committer | Daniel Walker <dwalker@codeaurora.org> | 2010-03-18 16:37:19 -0400 |
commit | 673ce00d7cb4ec060b5091992959da4a1d91c634 (patch) | |
tree | 88b3309b738f9a0a214a335aafb030d10ff02c27 /drivers/mmc | |
parent | b3b0ca84cfec581fba3ea8efaa8052cb5e6fc857 (diff) |
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.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/mmc/host/msm_sdcc.c b/drivers/mmc/host/msm_sdcc.c index 3ea66971edfc..6e50939b6f88 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) | |||
1315 | { | 1315 | { |
1316 | struct mmc_host *mmc = mmc_get_drvdata(dev); | 1316 | struct mmc_host *mmc = mmc_get_drvdata(dev); |
1317 | int rc = 0; | 1317 | int rc = 0; |
1318 | unsigned long flags; | ||
1319 | 1318 | ||
1320 | if (mmc) { | 1319 | if (mmc) { |
1321 | struct msmsdcc_host *host = mmc_priv(mmc); | 1320 | struct msmsdcc_host *host = mmc_priv(mmc); |
1322 | 1321 | ||
1323 | spin_lock_irqsave(&host->lock, flags); | ||
1324 | if (host->stat_irq) | 1322 | if (host->stat_irq) |
1325 | disable_irq(host->stat_irq); | 1323 | disable_irq(host->stat_irq); |
1326 | 1324 | ||
@@ -1330,7 +1328,6 @@ msmsdcc_suspend(struct platform_device *dev, pm_message_t state) | |||
1330 | msmsdcc_writel(host, 0, MMCIMASK0); | 1328 | msmsdcc_writel(host, 0, MMCIMASK0); |
1331 | 1329 | ||
1332 | } | 1330 | } |
1333 | spin_unlock_irqrestore(&host->lock, flags); | ||
1334 | if (host->clks_on) | 1331 | if (host->clks_on) |
1335 | msmsdcc_disable_clocks(host, 0); | 1332 | msmsdcc_disable_clocks(host, 0); |
1336 | } | 1333 | } |