mmc: sdhci: using common mmc_regulator_set_vqmmc()
authorDong Aisheng <aisheng.dong@nxp.com>
Tue, 12 Jul 2016 07:46:10 +0000 (15:46 +0800)
committerUlf Hansson <ulf.hansson@linaro.org>
Mon, 25 Jul 2016 08:34:52 +0000 (10:34 +0200)
commit761daa36e2091f3717f8cd9ebaaa0e2f81e9308e
treefb6e7fee6d3ee7efc21082ced4efa0515d010030
parent52ac7acf412b29b8a29320fde932eaa5bd3fd7c6
mmc: sdhci: using common mmc_regulator_set_vqmmc()

Switch to use the more robust common mmc_regulator_set_vqmmc()
function in MMC core which set the target voltage as close as
possible to target voltage.

We did not re-factor the whole sdhci_start_signal_voltage_switch()
cause we want to keep the original signal switch order between host
and card to avoid potential break.

Signed-off-by: Dong Aisheng <aisheng.dong@nxp.com>
Acked-by: Adrian Hunter <adrian.hunter@intel.com>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/host/sdhci.c