mmc: sdhci: Allow platform controlled voltage switching
authorVijay Viswanath <vviswana@codeaurora.org>
Tue, 23 Jun 2020 13:34:46 +0000 (19:04 +0530)
committerUlf Hansson <ulf.hansson@linaro.org>
Mon, 13 Jul 2020 10:18:24 +0000 (12:18 +0200)
commit0fcb031e52d7fc03913f2b1aa5302c09ba6155db
tree8f41196ef1e1e97cc1679938e9db7d6543683f5d
parentb343a0911057899aaf082a29f15c66a1a4531952
mmc: sdhci: Allow platform controlled voltage switching

If vendor platform drivers are controlling whole logic of voltage
switching, then sdhci driver no need control vqmmc regulator.
So skip enabling/disable vqmmc from SDHC driver.

Signed-off-by: Vijay Viswanath <vviswana@codeaurora.org>
Signed-off-by: Veerabhadrarao Badiganti <vbadigan@codeaurora.org>
Acked-by: Adrian Hunter <adrian.hunter@intel.com>
Link: https://lore.kernel.org/r/1592919288-1020-2-git-send-email-vbadigan@codeaurora.org
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/host/sdhci.c
drivers/mmc/host/sdhci.h