mmc: meson-gx: use per port interrupt names
authorHeiner Kallweit <hkallweit1@gmail.com>
Sat, 25 Mar 2017 10:24:41 +0000 (11:24 +0100)
committerUlf Hansson <ulf.hansson@linaro.org>
Mon, 24 Apr 2017 19:41:50 +0000 (21:41 +0200)
So far the driver name is used as interrupt description, therefore in
/proc/interrupts it's not possible to tell which interrupt belongs to
which port. Change this by switching to NULL what causes the default
(device name) to be used. In our case that's the DT node name.

Signed-off-by: Heiner Kallweit <hkallweit1@gmail.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 ab1f2d336ae2bc7b53cdd843c55b389fb6691971..0a0f5008940b5c7e05d8aa13debc19cff83166c5 100644 (file)
@@ -734,7 +734,7 @@ static int meson_mmc_probe(struct platform_device *pdev)
 
        ret = devm_request_threaded_irq(&pdev->dev, irq, meson_mmc_irq,
                                        meson_mmc_irq_thread, IRQF_SHARED,
-                                       DRIVER_NAME, host);
+                                       NULL, host);
        if (ret)
                goto err_div_clk;