]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitaff1a1438015489fe9b74b1880c1f97509e88e6a
treefb6e7fee6d3ee7efc21082ced4efa0515d010030
parente487757b637e22373c04cb1f055f2d670245ad24
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