summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorUlf Hansson <ulf.hansson@linaro.org>2020-04-30 12:16:40 +0300
committerUlf Hansson <ulf.hansson@linaro.org>2020-05-28 12:21:03 +0300
commit1dc5a61559e73472cd84bc8aa5b297ec0deba4de (patch)
tree83409874ec04c5284d003d383b2d9ca024d360aa /include
parentfa1e3191922bb6b59a64a1a03e461cde07ae1e62 (diff)
downloadlinux-1dc5a61559e73472cd84bc8aa5b297ec0deba4de.tar.xz
mmc: sdio: Align the initialization commands in retry path for UHS-I
According to the comment in mmc_sdio_reinit_card(), some SDIO cards may require a "[CMD5,5,3,7] init sequence", which isn't always obeyed in mmc_sdio_init_card(). Especially, when we end up retrying the UHS-I specific initialization, there is a missing CMD5. Let's update the code to make the behaviour consistent and let's also take the opportunity to clean up the code a bit, to avoid open coding. Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org> Link: https://lore.kernel.org/r/20200430091640.455-5-ulf.hansson@linaro.org
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions