summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorDooHyun Hwang <dh0421.hwang@samsung.com>2021-02-10 13:59:36 +0900
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2021-05-11 14:47:14 +0200
commit140f225218cd4b095eae0adcef2a766c82e09ce5 (patch)
treefb70dd8544cd6e985d60fb51b854f6709aa23157 /include
parent20d6f231f8f17ceb61e379b93aadca7c6042aa65 (diff)
mmc: core: Do a power cycle when the CMD11 fails
commit 147186f531ae49c18b7a9091a2c40e83b3d95649 upstream. A CMD11 is sent to the SD/SDIO card to start the voltage switch procedure into 1.8V I/O. According to the SD spec a power cycle is needed of the card, if it turns out that the CMD11 fails. Let's fix this, to allow a retry of the initialization without the voltage switch, to succeed. Note that, whether it makes sense to also retry with the voltage switch after the power cycle is a bit more difficult to know. At this point, we treat it like the CMD11 isn't supported and therefore we skip it when retrying. Signed-off-by: DooHyun Hwang <dh0421.hwang@samsung.com> Link: https://lore.kernel.org/r/20210210045936.7809-1-dh0421.hwang@samsung.com Cc: stable@vger.kernel.org Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions