mmc: meson-gx: correct irq flag
authorJerome Brunet <jbrunet@baylibre.com>
Tue, 23 Apr 2019 09:02:31 +0000 (11:02 +0200)
committerUlf Hansson <ulf.hansson@linaro.org>
Mon, 6 May 2019 09:55:39 +0000 (11:55 +0200)
There is no reason for another device to request the MMC irq. It should
only be used the MMC device, so remove IRQ_SHARED and replace by
IRQ_ONESHOT as we don't the irq to fire again until the irq thread is
done

Signed-off-by: Jerome Brunet <jbrunet@baylibre.com>
Reviewed-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
Reviewed-by: Kevin Hilman <khilman@baylibre.com>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/host/meson-gx-mmc.c

index 8b690ec..3df50b5 100644 (file)
@@ -1328,7 +1328,7 @@ static int meson_mmc_probe(struct platform_device *pdev)
               host->regs + SD_EMMC_IRQ_EN);
 
        ret = request_threaded_irq(host->irq, meson_mmc_irq,
-                                  meson_mmc_irq_thread, IRQF_SHARED,
+                                  meson_mmc_irq_thread, IRQF_ONESHOT,
                                   dev_name(&pdev->dev), host);
        if (ret)
                goto err_init_clk;