]> git.baikalelectronics.ru Git - kernel.git/commit
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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 8 Dec 2022 10:23:04 +0000 (11:23 +0100)
commit2f630ef479589804efaa2e954fe05af8c1845519
treec879fffddb427f096aee673e4729b5983728ee38
parentc4ebd013229fbbdf6beaaf96c4309b92e90f2b3a
mmc: sdhci-sprd: Fix no reset data and command after voltage switch

commit 10084d2e59898155ac4a8125eef921b1a8440be7 upstream.

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

Fixes: ae2236e4bac3 ("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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/mmc/host/sdhci-sprd.c