diff options
author | Gerd Hoffmann <kraxel@redhat.com> | 2017-01-26 15:42:53 +0100 |
---|---|---|
committer | Gerd Hoffmann <kraxel@redhat.com> | 2017-01-26 21:49:27 +0100 |
commit | 11ec4e90fa6f4523394faa4fceabb9ce8fae288d (patch) | |
tree | 79365e72877531be777c1ec8265c8b78961ad9a0 | |
parent | 739e57f79a4502a00b13a680818b8399f01b1bb9 (diff) | |
download | linux-11ec4e90fa6f4523394faa4fceabb9ce8fae288d.tar.gz |
mmc: bcm2835: add bcm2835_threaded_irq
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
-rw-r--r-- | drivers/mmc/host/bcm2835.c | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/drivers/mmc/host/bcm2835.c b/drivers/mmc/host/bcm2835.c index ffb91409eb1e..6f9fb12cd0e3 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); |