]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
mmc: tmio: always flag retune when resetting and a card is present
authorWolfram Sang <wsa+renesas@sang-engineering.com>
Tue, 16 Mar 2021 08:57:17 +0000 (09:57 +0100)
committerUlf Hansson <ulf.hansson@linaro.org>
Tue, 30 Mar 2021 09:42:06 +0000 (11:42 +0200)
commit6e5c951b4c3a0bd9aa5838ecec98f3c795c83ff1
treed08780faa3e511c1c430f2757ed2b65f7ce9cf69
parent0a446288aa9f28ab00a31b8b51fdb005953f9f99
mmc: tmio: always flag retune when resetting and a card is present

After reset, we manually flagged retune in runtime resume, but missed it
in the workqueue. To fix that and avoid the problem in the future, let's
flag retune in the reset handler directly whenever a card is present.

Reported-by: Takeshi Saito <takeshi.saito.xv@renesas.com>
Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
Link: https://lore.kernel.org/r/20210316085717.7276-3-wsa+renesas@sang-engineering.com
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/host/tmio_mmc_core.c