mmc: tmio: when resetting, reset DMA controller, too
authorWolfram Sang <wsa+renesas@sang-engineering.com>
Fri, 6 Nov 2020 07:25:47 +0000 (08:25 +0100)
committerUlf Hansson <ulf.hansson@linaro.org>
Tue, 10 Nov 2020 12:58:01 +0000 (13:58 +0100)
commit1023e290ba567af0640f9a5bd878207a5dff6ed2
treeb95da1de36cb851d645606248f73a7793f93b1fd
parent71b053276a87ddfa40c8f236315d81543219bfb9
mmc: tmio: when resetting, reset DMA controller, too

When applying a revert, the assumption that DMA only needs to be cleared
in specific cases was wrong. We want to reset the DMA controller every
time the rest of the HW gets reset, too.

Fixes: 34e3211e5492 ("Revert "mmc: tmio: fix reset operation"")
Reported-by: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
Tested-by: Niklas Söderlund <niklas.soderlund+renesas@ragnatech.se>
Reviewed-by: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
Tested-by: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
Link: https://lore.kernel.org/r/20201106072549.1495-2-wsa+renesas@sang-engineering.com
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/host/tmio_mmc_core.c