summaryrefslogtreecommitdiffstats
path: root/drivers/mmc/core/sdio.c
diff options
context:
space:
mode:
authorUlf Hansson <ulf.hansson@linaro.org>2013-09-12 15:36:34 +0200
committerChris Ball <cjb@laptop.org>2013-10-30 20:26:26 -0400
commit0f791fdad82a02af013e4fc8c385dc690080c366 (patch)
tree265a07101e0165b05fae01cb9236f142578d47b1 /drivers/mmc/core/sdio.c
parent4a065193c46a16f1ddf20622c7011c8f327e0478 (diff)
downloadblackbird-op-linux-0f791fdad82a02af013e4fc8c385dc690080c366.tar.gz
blackbird-op-linux-0f791fdad82a02af013e4fc8c385dc690080c366.zip
mmc: core: Let mmc_set_signal_voltage take ocr as parameter
This is yet another step of restructure code to be able to fixup the setup of the negotiated ocr mask. Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org> Signed-off-by: Chris Ball <cjb@laptop.org>
Diffstat (limited to 'drivers/mmc/core/sdio.c')
-rw-r--r--drivers/mmc/core/sdio.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/mmc/core/sdio.c b/drivers/mmc/core/sdio.c
index 355c95270d48..15cbc418c95f 100644
--- a/drivers/mmc/core/sdio.c
+++ b/drivers/mmc/core/sdio.c
@@ -664,7 +664,8 @@ try_again:
* it.
*/
if (!powered_resume && (ocr & R4_18V_PRESENT) && mmc_host_uhs(host)) {
- err = mmc_set_signal_voltage(host, MMC_SIGNAL_VOLTAGE_180);
+ err = mmc_set_signal_voltage(host, MMC_SIGNAL_VOLTAGE_180,
+ host->ocr);
if (err == -EAGAIN) {
sdio_reset(host);
mmc_go_idle(host);
OpenPOWER on IntegriCloud