mmc: sdhci: Separate out sdhci_reset_for_all()
authorAdrian Hunter <adrian.hunter@intel.com>
Mon, 26 Sep 2022 19:20:19 +0000 (22:20 +0300)
committerUlf Hansson <ulf.hansson@linaro.org>
Wed, 28 Sep 2022 08:08:27 +0000 (10:08 +0200)
commitaa9907224b50b819ba5a7cf200e8ede70f6b1fef
tree8dc94a610efce012ae3e0c727a3f066eb952c4d7
parentc8b41c07d22719d31c3325a898ae80f2d58ac405
mmc: sdhci: Separate out sdhci_reset_for_all()

Tidy sdhci_do_reset() slightly by separating out sdhci_reset_for_all()
which removes the need to test the mask in sdhci_do_reset().

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