diff options
author | Masahiro Yamada <yamada.masahiro@socionext.com> | 2020-05-11 08:21:58 +0200 |
---|---|---|
committer | Ulf Hansson <ulf.hansson@linaro.org> | 2020-05-28 11:22:14 +0200 |
commit | 5d1f42e14b135773c0cc1d82e904c5b223783a9d (patch) | |
tree | 96c7dc7fe9fd274f65929045c027c85a143ad2f8 /drivers/mmc/host/sdhci.h | |
parent | mmc: sdhci-pci-gli: Add Genesys Logic GL9763E support (diff) | |
download | linux-5d1f42e14b135773c0cc1d82e904c5b223783a9d.tar.xz linux-5d1f42e14b135773c0cc1d82e904c5b223783a9d.zip |
mmc: uniphier-sd: call devm_request_irq() after tmio_mmc_host_probe()
Currently, tmio_mmc_irq() handler is registered before the host is
fully initialized by tmio_mmc_host_probe(). I did not previously notice
this problem.
The boot ROM of a new Socionext SoC unmasks interrupts (CTL_IRQ_MASK)
somehow. The handler is invoked before tmio_mmc_host_probe(), then
emits noisy call trace.
Move devm_request_irq() below tmio_mmc_host_probe().
Fixes: 3fd784f745dd ("mmc: uniphier-sd: add UniPhier SD/eMMC controller driver")
Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Cc: stable@vger.kernel.org
Link: https://lore.kernel.org/r/20200511062158.1790924-1-yamada.masahiro@socionext.com
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Diffstat (limited to 'drivers/mmc/host/sdhci.h')
0 files changed, 0 insertions, 0 deletions