Skip to content

Commit 83e418a

Browse files
xdarklightstorulf
authored andcommitted
mmc: meson-gx: fix interrupt name
Commit bb36489 ("mmc: meson-gx: Free irq in release() callback") changed the _probe code to use request_threaded_irq() instead of devm_request_threaded_irq(). Unfortunately this removes a fallback for the interrupt name: devm_request_threaded_irq() uses the device name as fallback if the given IRQ name is NULL. request_threaded_irq() has no such fallback, thus /proc/interrupts shows "(null)" instead. Explicitly pass the dev_name() so we get the IRQ name shown in /proc/interrupts again. While here, also fix the indentation of the request_threaded_irq() parameter list. Fixes: bb36489 ("mmc: meson-gx: Free irq in release() callback") Signed-off-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com> Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
1 parent dcf6e2e commit 83e418a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

drivers/mmc/host/meson-gx-mmc.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1338,7 +1338,8 @@ static int meson_mmc_probe(struct platform_device *pdev)
13381338
host->regs + SD_EMMC_IRQ_EN);
13391339

13401340
ret = request_threaded_irq(host->irq, meson_mmc_irq,
1341-
meson_mmc_irq_thread, IRQF_SHARED, NULL, host);
1341+
meson_mmc_irq_thread, IRQF_SHARED,
1342+
dev_name(&pdev->dev), host);
13421343
if (ret)
13431344
goto err_init_clk;
13441345

0 commit comments

Comments
 (0)