* [PATCH] msm_sdcc.c: missing brackets in msmsdcc_resume()
@ 2010-01-17 19:25 Roel Kluin
2010-01-20 20:32 ` Daniel Walker
0 siblings, 1 reply; 2+ messages in thread
From: Roel Kluin @ 2010-01-17 19:25 UTC (permalink / raw)
To: David Brown, Daniel Walker, Bryan Huntsman, Andrew Morton, LKML
Since the curly brackets were missing the test and enable_irq(),
if true, occurred twice.
Signed-off-by: Roel Kluin <roel.kluin@gmail.com>
---
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 b31946e..4c068e5 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)
if (mmc->card && mmc->card->type != MMC_TYPE_SDIO)
mmc_resume_host(mmc);
- if (host->stat_irq)
- enable_irq(host->stat_irq);
- else if (host->stat_irq)
+ if (host->stat_irq)
enable_irq(host->stat_irq);
}
return 0;
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2010-01-20 20:32 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-01-17 19:25 [PATCH] msm_sdcc.c: missing brackets in msmsdcc_resume() Roel Kluin
2010-01-20 20:32 ` Daniel Walker
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox