diff options
| author | 2020-04-30 11:16:40 +0200 | |
|---|---|---|
| committer | 2020-05-28 11:21:03 +0200 | |
| commit | 1dc5a61559e73472cd84bc8aa5b297ec0deba4de (patch) | |
| tree | 83409874ec04c5284d003d383b2d9ca024d360aa /include/linux/platform_data | |
| parent | mmc: sdio: Re-use negotiated OCR mask when re-sending CMD8 (diff) | |
| download | linux-dev-1dc5a61559e73472cd84bc8aa5b297ec0deba4de.tar.xz linux-dev-1dc5a61559e73472cd84bc8aa5b297ec0deba4de.zip | |
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/linux/platform_data')
0 files changed, 0 insertions, 0 deletions
