projects
/
GitHub
/
LineageOS
/
G12
/
android_kernel_amlogic_linux-4.9.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ae12d25
)
mmc: tmio: Mask all IRQs when inactive
author
Ulf Hansson
<ulf.hansson@linaro.org>
Mon, 25 Aug 2014 09:55:57 +0000
(11:55 +0200)
committer
Ulf Hansson
<ulf.hansson@linaro.org>
Tue, 9 Sep 2014 11:59:10 +0000
(13:59 +0200)
To make sure we don't receive any spurious IRQs while we are inactive,
mask the IRQs from within the ->runtime_suspend() callback.
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Acked-by: Geert Uytterhoeven <geert+renesas@glider.be>
drivers/mmc/host/tmio_mmc_pio.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/mmc/host/tmio_mmc_pio.c
b/drivers/mmc/host/tmio_mmc_pio.c
index 23451772c0fa8b726a9fe5ba058896405e855bca..d52280d671f037224d36ef7c0e4c10d2af706e64 100644
(file)
--- a/
drivers/mmc/host/tmio_mmc_pio.c
+++ b/
drivers/mmc/host/tmio_mmc_pio.c
@@
-1168,6
+1168,8
@@
int tmio_mmc_host_runtime_suspend(struct device *dev)
struct mmc_host *mmc = dev_get_drvdata(dev);
struct tmio_mmc_host *host = mmc_priv(mmc);
+ tmio_mmc_disable_mmc_irqs(host, TMIO_MASK_ALL);
+
if (host->clk_cache)
tmio_mmc_clk_stop(host);