Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
mmc: mmci: stm32: Check when the voltage switch procedure should be done
If the card has not been power cycled, it may still be using 1.8V signaling. This situation is detected in mmc_sd_init_card function and should be handled in mmci stm32 variant. The host->pwr_reg variable is also correctly protected with spin locks. Fixes: 94b94a9 ("mmc: mmci_sdmmc: Implement signal voltage callbacks") Signed-off-by: Christophe Kerello <[email protected]> Signed-off-by: Yann Gautier <[email protected]> Change-Id: Ie46dbe2b0d72291ee0874ee8fcebdf9f2f8391fa Reviewed-on: https://gerrit.st.com/c/mpu/oe/st/linux-stm32/+/227066 Reviewed-by: CITOOLS <[email protected]> Reviewed-by: CIBUILD <[email protected]> Reviewed-by: Christophe KERELLO <[email protected]>
- Loading branch information