diff options
author | Christophe Kerello <[email protected]> | 2021-07-01 16:33:53 +0200 |
---|---|---|
committer | Ulf Hansson <[email protected]> | 2021-08-04 12:46:02 +0200 |
commit | d8e193f13b07e6c0ffaa1a999386f1989f2b4c5e (patch) | |
tree | 01f23b005abb27f5baa2adb70a3e67679120b512 /lib/test_overflow.c | |
parent | 25f8203b4be1937c4939bb98623e67dcfd7da4d1 (diff) |
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: 94b94a93e355 ("mmc: mmci_sdmmc: Implement signal voltage callbacks")
Signed-off-by: Christophe Kerello <[email protected]>
Signed-off-by: Yann Gautier <[email protected]>
Cc: [email protected]
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Ulf Hansson <[email protected]>
Diffstat (limited to 'lib/test_overflow.c')
0 files changed, 0 insertions, 0 deletions