Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1403563 > unrolled thread
| Started by | Jiri Slaby <jslaby@suse.cz> |
|---|---|
| First post | 2016-05-19 11:30 +0200 |
| Last post | 2016-05-19 11:30 +0200 |
| Articles | 1 — 1 participant |
Back to article view | Back to linux.kernel
This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by
below is the oldest one visible, not the original post.
[PATCH 3.12 28/76] mmc: sdhci: Allow for irq being shared Jiri Slaby <jslaby@suse.cz> - 2016-05-19 11:30 +0200
| From | Jiri Slaby <jslaby@suse.cz> |
|---|---|
| Date | 2016-05-19 11:30 +0200 |
| Subject | [PATCH 3.12 28/76] mmc: sdhci: Allow for irq being shared |
| Message-ID | <rAsrg-6ir-11@gated-at.bofh.it> |
From: Adrian Hunter <adrian.hunter@intel.com>
3.12-stable review patch. If anyone has any objections, please let me know.
===============
commit 655bca7616bf6076d30b14d1478bca6807d49c45 upstream.
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>
Signed-off-by: Jiri Slaby <jslaby@suse.cz>
---
drivers/mmc/host/sdhci.c | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/drivers/mmc/host/sdhci.c b/drivers/mmc/host/sdhci.c
index 4aa4d2d18933..4e697ea67ae2 100644
--- a/drivers/mmc/host/sdhci.c
+++ b/drivers/mmc/host/sdhci.c
@@ -2417,9 +2417,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);
--
2.8.2
Back to top | Article view | linux.kernel
csiph-web