diff options
author | Roel Kluin <roel.kluin@gmail.com> | 2010-01-17 14:25:36 -0500 |
---|---|---|
committer | Daniel Walker <dwalker@codeaurora.org> | 2010-01-20 15:29:56 -0500 |
commit | 5b8a2fb34f5670b1f07483bfa40de9ce539dbdb2 (patch) | |
tree | b996e6c1f34718f0581a61f6bbbc08c925bff818 /drivers | |
parent | 6b7b284958d47b77d06745b36bc7f36dab769d9b (diff) |
msm_sdcc.c: missing brackets in msmsdcc_resume()
Since the curly brackets were missing the test and enable_irq(),
if true, occurred twice.
Signed-off-by: Roel Kluin <roel.kluin@gmail.com>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/mmc/host/msm_sdcc.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/mmc/host/msm_sdcc.c b/drivers/mmc/host/msm_sdcc.c index b31946e0b4ca..4c068e5fe6b2 100644 --- a/drivers/mmc/host/msm_sdcc.c +++ b/drivers/mmc/host/msm_sdcc.c | |||
@@ -1250,9 +1250,7 @@ msmsdcc_resume(struct platform_device *dev) | |||
1250 | 1250 | ||
1251 | if (mmc->card && mmc->card->type != MMC_TYPE_SDIO) | 1251 | if (mmc->card && mmc->card->type != MMC_TYPE_SDIO) |
1252 | mmc_resume_host(mmc); | 1252 | mmc_resume_host(mmc); |
1253 | if (host->stat_irq) | 1253 | if (host->stat_irq) |
1254 | enable_irq(host->stat_irq); | ||
1255 | else if (host->stat_irq) | ||
1256 | enable_irq(host->stat_irq); | 1254 | enable_irq(host->stat_irq); |
1257 | } | 1255 | } |
1258 | return 0; | 1256 | return 0; |