提交 5b8a2fb3 编写于 作者: R Roel Kluin 提交者: Daniel Walker

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: NRoel Kluin <roel.kluin@gmail.com>
上级 6b7b2849
......@@ -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;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册