mmc: sdhci-sprd: Fix no reset data and command after voltage switch
authorWenchao Chen <wenchao.chen@unisoc.com>
Wed, 30 Nov 2022 12:13:28 +0000 (20:13 +0800)
committerUlf Hansson <ulf.hansson@linaro.org>
Thu, 1 Dec 2022 10:28:39 +0000 (11:28 +0100)
commitdd30dcfa7a74a06f8dcdab260d8d5adf32f17333
treeadcc8d5b02d0e0247f181cfaecd2994969f96aa6
parentc981cdfb9925f64a364f13c2b4f98f877308a408
mmc: sdhci-sprd: Fix no reset data and command after voltage switch

After switching the voltage, no reset data and command will cause
CMD2 timeout.

Fixes: 29ca763fc26f ("mmc: sdhci-sprd: Add pin control support for voltage switch")
Signed-off-by: Wenchao Chen <wenchao.chen@unisoc.com>
Acked-by: Adrian Hunter <adrian.hunter@intel.com>
Reviewed-by: Baolin Wang <baolin.wang@linux.alibaba.com>
Cc: stable@vger.kernel.org
Link: https://lore.kernel.org/r/20221130121328.25553-1-wenchao.chen@unisoc.com
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/host/sdhci-sprd.c