]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
mmc: tmio: reenable card irqs after the reset callback
authorWolfram Sang <wsa+renesas@sang-engineering.com>
Thu, 28 Oct 2021 19:51:49 +0000 (21:51 +0200)
committerUlf Hansson <ulf.hansson@linaro.org>
Thu, 28 Oct 2021 21:19:32 +0000 (23:19 +0200)
commit90935eb303e0d12f3d3d0383262e65290321f5f6
tree3cc22d93ee1747863d4d062eef5517378131ff5d
parente8a1ff65927080278e6826f797b7c197fb2611a6
mmc: tmio: reenable card irqs after the reset callback

The reset callback may clear the internal card detect interrupts, so
make sure to reenable them if needed.

Fixes: b4d86f37eacb ("mmc: renesas_sdhi: do hard reset if possible")
Reported-by: Biju Das <biju.das.jz@bp.renesas.com>
Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
Cc: stable@vger.kernel.org
Link: https://lore.kernel.org/r/20211028195149.8003-1-wsa+renesas@sang-engineering.com
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/host/tmio_mmc_core.c