]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
mmc: meson-gx: fix interrupt name
authorMartin Blumenstingl <martin.blumenstingl@googlemail.com>
Sat, 9 Feb 2019 00:58:50 +0000 (01:58 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 23 Feb 2019 08:08:07 +0000 (09:08 +0100)
commit795793799d07c91f9fa2333bfd0865637a3d43dd
tree43092d9fabe0a0fd408f49a0ca4a32453cf246ec
parent2260fa4495500d6997acedeaf2d743622e387d2b
mmc: meson-gx: fix interrupt name

[ Upstream commit 83e418a805d880a8b18add07f94d19b2a5a80307 ]

Commit bb364890323cca ("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: bb364890323cca ("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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/mmc/host/meson-gx-mmc.c