]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.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)
committerKleber Sacilotto de Souza <kleber.souza@canonical.com>
Wed, 14 Aug 2019 09:18:49 +0000 (11:18 +0200)
commitae3d34a24f8ce371708b668f4d5c734d518a401c
tree726fa04d5a244eb294c715c0604d6d913df08fb3
parentf26101c728edac001b525594cf9cd9950feaae81
mmc: meson-gx: fix interrupt name

BugLink: https://bugs.launchpad.net/bugs/1837813
commit 83e418a805d880a8b18add07f94d19b2a5a80307 upstream.

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: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Andrea Righi <andrea.righi@canonical.com>
Signed-off-by: Khalid Elmously <khalid.elmously@canonical.com>
drivers/mmc/host/meson-gx-mmc.c