mmc: sdhci: Centralize CMD and DATA reset handling
authorAdrian Hunter <adrian.hunter@intel.com>
Mon, 26 Sep 2022 19:20:22 +0000 (22:20 +0300)
committerUlf Hansson <ulf.hansson@linaro.org>
Wed, 28 Sep 2022 08:08:56 +0000 (10:08 +0200)
commit1e63d2973ea39ffebd829de632b6b2336d59f41f
tree58451501ac2ac3c2a96d62fac9f51143040b3dfb
parent6fbde9e98a580feec73f3e1677c1f4b7a1ce8c64
mmc: sdhci: Centralize CMD and DATA reset handling

Centralize CMD and DATA reset handling so that is more obvious how reset
is handled in different situations.

Signed-off-by: Adrian Hunter <adrian.hunter@intel.com>
Reviewed-by: Thierry Reding <treding@nvidia.com>
Link: https://lore.kernel.org/r/20220926192022.85660-5-adrian.hunter@intel.com
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/host/sdhci.c