Skip to content

Commit

Permalink
mmc: msm_sdcc: Don't disable interrupts while suspending
Browse files Browse the repository at this point in the history
Signed-off-by: San Mehat <san@google.com>
Signed-off-by: Daniel Walker <dwalker@codeaurora.org>
  • Loading branch information
San Mehat authored and Daniel Walker committed Mar 18, 2010
1 parent b3b0ca8 commit 673ce00
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions drivers/mmc/host/msm_sdcc.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand All @@ -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);
}
Expand Down

0 comments on commit 673ce00

Please sign in to comment.