Commit 655bca76 authored by Adrian Hunter's avatar Adrian Hunter Committed by Chris Ball

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: default avatarAdrian Hunter <adrian.hunter@intel.com>
Signed-off-by: default avatarChris Ball <chris@printf.net>
parent aad95dc4
...@@ -2434,9 +2434,7 @@ static irqreturn_t sdhci_irq(int irq, void *dev_id) ...@@ -2434,9 +2434,7 @@ static irqreturn_t sdhci_irq(int irq, void *dev_id)
if (host->runtime_suspended) { if (host->runtime_suspended) {
spin_unlock(&host->lock); spin_unlock(&host->lock);
pr_warning("%s: got irq while runtime suspended\n", return IRQ_NONE;
mmc_hostname(host->mmc));
return IRQ_HANDLED;
} }
intmask = sdhci_readl(host, SDHCI_INT_STATUS); intmask = sdhci_readl(host, SDHCI_INT_STATUS);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment