aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/mmc
diff options
context:
space:
mode:
authorAdrian Hunter <adrian.hunter@intel.com>2014-03-11 04:09:36 -0400
committerChris Ball <chris@printf.net>2014-03-17 09:13:02 -0400
commit655bca7616bf6076d30b14d1478bca6807d49c45 (patch)
treebd58539e666b82ae7b934f924320a5598f851beb /drivers/mmc
parentaad95dc49c6dad19b49af7cd90c53473ec0536d1 (diff)
mmc: sdhci: Allow for irq being shared
If the SDHCI irq is shared with another device then the interrupt handler can get called while SDHCI is runtime suspended. That is harmless but the warning message is not useful so remove it. Also returning IRQ_NONE is more appropriate. Signed-off-by: Adrian Hunter <adrian.hunter@intel.com> Signed-off-by: Chris Ball <chris@printf.net>
Diffstat (limited to 'drivers/mmc')
-rw-r--r--drivers/mmc/host/sdhci.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/mmc/host/sdhci.c b/drivers/mmc/host/sdhci.c
index 7f95211e9449..04a5e257a2ab 100644
--- a/drivers/mmc/host/sdhci.c
+++ b/drivers/mmc/host/sdhci.c
@@ -2434,9 +2434,7 @@ static irqreturn_t sdhci_irq(int irq, void *dev_id)
2434 2434
2435 if (host->runtime_suspended) { 2435 if (host->runtime_suspended) {
2436 spin_unlock(&host->lock); 2436 spin_unlock(&host->lock);
2437 pr_warning("%s: got irq while runtime suspended\n", 2437 return IRQ_NONE;
2438 mmc_hostname(host->mmc));
2439 return IRQ_HANDLED;
2440 } 2438 }
2441 2439
2442 intmask = sdhci_readl(host, SDHCI_INT_STATUS); 2440 intmask = sdhci_readl(host, SDHCI_INT_STATUS);