diff options
author | Ulf Hansson <ulf.hansson@linaro.org> | 2014-08-25 11:55:57 +0200 |
---|---|---|
committer | Ulf Hansson <ulf.hansson@linaro.org> | 2014-09-09 13:59:10 +0200 |
commit | 20e955c3c746f434a2f97ab08ac6bd71f63c6afa (patch) | |
tree | 6df63aa1ec9d122bfb52991713153d239d5d599a /drivers/mmc | |
parent | ae12d25053fa20d67b16e568917b956006d5dc01 (diff) | |
download | blackbird-op-linux-20e955c3c746f434a2f97ab08ac6bd71f63c6afa.tar.gz blackbird-op-linux-20e955c3c746f434a2f97ab08ac6bd71f63c6afa.zip |
mmc: tmio: Mask all IRQs when inactive
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>
Diffstat (limited to 'drivers/mmc')
-rw-r--r-- | drivers/mmc/host/tmio_mmc_pio.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/mmc/host/tmio_mmc_pio.c b/drivers/mmc/host/tmio_mmc_pio.c index 23451772c0fa..d52280d671f0 100644 --- 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); |