summaryrefslogtreecommitdiffstats
path: root/block/blk-ioc.c
diff options
context:
space:
mode:
authorUlf Hansson <ulf.hansson@linaro.org>2020-04-30 11:16:39 +0200
committerUlf Hansson <ulf.hansson@linaro.org>2020-05-28 11:21:03 +0200
commitfa1e3191922bb6b59a64a1a03e461cde07ae1e62 (patch)
tree812bb6b7bf659ca5856f06f24890613c315bb499 /block/blk-ioc.c
parenta94a59f43749b4f8cd81b8be87c95f9ef898d19d (diff)
downloadlinux-fa1e3191922bb6b59a64a1a03e461cde07ae1e62.tar.bz2
mmc: sdio: Re-use negotiated OCR mask when re-sending CMD8
While initializing an SDIO card in mmc_sdio_init_card(), we may need to retry the UHS-I specific initialization, in case the first attempt fails. This leads to resending a CMD8, but also to restart from scratch with the so called OCR mask negotiations. This is unnecessary as we already have a negotiated OCR mask, so let's use that instead. In this way, the behaviour also becomes more consistent with other similar paths. Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org> Link: https://lore.kernel.org/r/20200430091640.455-4-ulf.hansson@linaro.org
Diffstat (limited to 'block/blk-ioc.c')
0 files changed, 0 insertions, 0 deletions