summaryrefslogtreecommitdiffstats
path: root/drivers/mmc/host/sdhci-tegra.c
diff options
context:
space:
mode:
authorNicolas Boichat <drinkcat@chromium.org>2016-03-03 11:19:45 +0100
committerUlf Hansson <ulf.hansson@linaro.org>2016-03-17 14:54:36 +0100
commitfac49ce575cd86dc5e91049f274750923dfb6840 (patch)
tree428341d4f19f8fc4519c3c07eb090597dfe283ac /drivers/mmc/host/sdhci-tegra.c
parentmmc: mediatek: Change signal voltage error to dev_dbg() (diff)
downloadlinux-fac49ce575cd86dc5e91049f274750923dfb6840.tar.xz
linux-fac49ce575cd86dc5e91049f274750923dfb6840.zip
mmc: mediatek: Use mmc_regulator_set_vqmmc in start_signal_voltage_switch
We've introduced a new helper in the MMC core: mmc_regulator_set_vqmmc(). Let's use this in mtk-sd. Using this new helper has some advantages: 1. We get the mmc_regulator_set_vqmmc() behavior of trying to match VQMMC and VMMC when the signal voltage is 3.3V. This ensures max compatibility. 2. We get rid of a few more warnings when probing unsupported voltages. 3. We get rid of some non-mediatek specific code in mtk-sd. Signed-off-by: Nicolas Boichat <drinkcat@chromium.org> Reviewed-by: Douglas Anderson <dianders@chromium.org> Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Diffstat (limited to 'drivers/mmc/host/sdhci-tegra.c')
0 files changed, 0 insertions, 0 deletions