]> git.baikalelectronics.ru Git - kernel.git/commit
mmc: core: Fix UHS-I SD 1.8V workaround branch
authorAdrian Hunter <adrian.hunter@intel.com>
Mon, 15 Aug 2022 07:33:20 +0000 (10:33 +0300)
committerUlf Hansson <ulf.hansson@linaro.org>
Mon, 22 Aug 2022 10:58:28 +0000 (12:58 +0200)
commitf9241cabfea3c8a84b12e0abac803cb73f17e053
tree90f56bc553d84a338a8e6e95b607913aac84a3b5
parentacaa855d21c1fc8e8a1fab873003c0736c2d01f6
mmc: core: Fix UHS-I SD 1.8V workaround branch

When introduced, upon success, the 1.8V fixup workaround in
mmc_sd_init_card() would branch to practically the end of the function, to
a label named "done". Unfortunately, perhaps due to the label name, over
time new code has been added that really should have come after "done" not
before it. Let's fix the problem by moving the label to the correct place
and rename it "cont".

Fixes: 9c75d6a86293 ("mmc: core: Enable the MMC host software queue for the SD card")
Signed-off-by: Adrian Hunter <adrian.hunter@intel.com>
Reviewed-by: Seunghui Lee <sh043.lee@samsung.com>
Cc: stable@vger.kernel.org
Link: https://lore.kernel.org/r/20220815073321.63382-2-adrian.hunter@intel.com
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/core/sd.c