From: Adrian Hunter Date: Tue, 11 Mar 2014 08:09:36 +0000 (+0200) Subject: mmc: sdhci: Allow for irq being shared X-Git-Tag: v3.15-rc1~42^2~7 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=655bca7616bf6076d30b14d1478bca6807d49c45;p=karo-tx-linux.git 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 Signed-off-by: Chris Ball --- 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) if (host->runtime_suspended) { spin_unlock(&host->lock); - pr_warning("%s: got irq while runtime suspended\n", - mmc_hostname(host->mmc)); - return IRQ_HANDLED; + return IRQ_NONE; } intmask = sdhci_readl(host, SDHCI_INT_STATUS);