diff options
author | Ulf Hansson <ulf.hansson@linaro.org> | 2020-04-30 11:16:40 +0200 |
---|---|---|
committer | Ulf Hansson <ulf.hansson@linaro.org> | 2020-05-28 11:21:03 +0200 |
commit | 1dc5a61559e73472cd84bc8aa5b297ec0deba4de (patch) | |
tree | 83409874ec04c5284d003d383b2d9ca024d360aa /drivers/mmc/core/mmc.c | |
parent | fa1e3191922bb6b59a64a1a03e461cde07ae1e62 (diff) | |
download | linux-1dc5a61559e73472cd84bc8aa5b297ec0deba4de.tar.bz2 |
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 'drivers/mmc/core/mmc.c')
0 files changed, 0 insertions, 0 deletions