Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1567808 > unrolled thread
| Started by | Gerd Hoffmann <kraxel@redhat.com> |
|---|---|
| First post | 2017-01-27 00:40 +0100 |
| Last post | 2017-01-27 00:40 +0100 |
| 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 03/13] mmc: bcm2835: add bcm2835_threaded_irq Gerd Hoffmann <kraxel@redhat.com> - 2017-01-27 00:40 +0100
| From | Gerd Hoffmann <kraxel@redhat.com> |
|---|---|
| Date | 2017-01-27 00:40 +0100 |
| Subject | [PATCH 03/13] mmc: bcm2835: add bcm2835_threaded_irq |
| Message-ID | <t41O1-5cG-7@gated-at.bofh.it> |
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
---
drivers/mmc/host/bcm2835.c | 10 ++++++++--
1 file changed, 8 insertions(+), 2 deletions(-)
diff --git a/drivers/mmc/host/bcm2835.c b/drivers/mmc/host/bcm2835.c
index ffb9140..6f9fb12 100644
--- a/drivers/mmc/host/bcm2835.c
+++ b/drivers/mmc/host/bcm2835.c
@@ -1105,6 +1105,11 @@ static irqreturn_t bcm2835_irq(int irq, void *dev_id)
return result;
}
+static irqreturn_t bcm2835_threaded_irq(int irq, void *dev_id)
+{
+ return IRQ_HANDLED;
+}
+
void bcm2835_set_clock(struct bcm2835_host *host, unsigned int clock)
{
int div = 0; /* Initialized for compiler warning */
@@ -1405,8 +1410,9 @@ int bcm2835_add_host(struct bcm2835_host *host)
bcm2835_reset_internal(host);
- ret = request_irq(host->irq, bcm2835_irq, 0 /*IRQF_SHARED*/,
- mmc_hostname(mmc), host);
+ ret = request_threaded_irq(host->irq, bcm2835_irq,
+ bcm2835_threaded_irq,
+ 0, mmc_hostname(mmc), host);
if (ret) {
dev_err(dev, "failed to request IRQ %d: %d\n",
host->irq, ret);
--
1.8.3.1
Back to top | Article view | linux.kernel
csiph-web