summaryrefslogtreecommitdiff
path: root/security/integrity
diff options
context:
space:
mode:
authorAaron Lu <aaron.lu@amd.com>2012-07-10 08:55:37 (GMT)
committerChris Ball <cjb@laptop.org>2012-07-22 19:25:53 (GMT)
commit108ecc4cf9c46a4caabaf18efc42d19818c95b70 (patch)
treeb28bc7b718318b54fcdb22fd3c58833a971ac9c9 /security/integrity
parent55c4665ea0a42fd6427826bfce96eb4b0389262a (diff)
downloadlinux-fsl-qoriq-108ecc4cf9c46a4caabaf18efc42d19818c95b70.tar.xz
mmc: core: reset signal voltage on power up
Add a call to mmc_set_signal_voltage() to set signal voltage to 3.3v in mmc_power_up so that we do not need to touch signal voltage setting in mmc/sd/sdio init functions and rescan function. For mmc/sd cards, when doing a suspend/resume cycle, consider the unsafe resume case, the card will lose its power and when powered on again, we will set signal voltage to 3.3v in mmc_power_up before its resume function gets called, which will re-init the card. And for sdio cards, when doing a suspend/resume cycle, consider the unsafe resume case, the card will either lose its power or not depending on if it wants to wakeup the host. If power is not maintained, it is the same case as mmc/sd cards. If power is maintained, mmc_power_up will not be called and the card's signal voltage will remain at the last setting. Signed-off-by: Aaron Lu <aaron.lu@amd.com> Tested-by: Venkatraman S <svenkatr@ti.com> Signed-off-by: Chris Ball <cjb@laptop.org>
Diffstat (limited to 'security/integrity')
0 files changed, 0 insertions, 0 deletions