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>
This commit is contained in:
committed by
Daniel Walker
parent
6b7b284958
commit
5b8a2fb34f
@@ -1252,8 +1252,6 @@ msmsdcc_resume(struct platform_device *dev)
|
|||||||
mmc_resume_host(mmc);
|
mmc_resume_host(mmc);
|
||||||
if (host->stat_irq)
|
if (host->stat_irq)
|
||||||
enable_irq(host->stat_irq);
|
enable_irq(host->stat_irq);
|
||||||
else if (host->stat_irq)
|
|
||||||
enable_irq(host->stat_irq);
|
|
||||||
}
|
}
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user