diff options
author | Yuvaraj CD <yuvaraj.cd@gmail.com> | 2014-08-22 19:17:50 +0530 |
---|---|---|
committer | Ulf Hansson <ulf.hansson@linaro.org> | 2014-09-09 13:59:18 +0200 |
commit | 51da2240906cb94e8f6ba55e403b6206df6fb2dd (patch) | |
tree | 8e8cc8e4a99b0fcd533dc2a9c6df1b0232bb8ced /include/linux/mmc/dw_mmc.h | |
parent | cc8aa7de48277f62fe3fced762d75f01ce57e909 (diff) | |
download | talos-op-linux-51da2240906cb94e8f6ba55e403b6206df6fb2dd.tar.gz talos-op-linux-51da2240906cb94e8f6ba55e403b6206df6fb2dd.zip |
mmc: dw_mmc: use mmc_regulator_get_supply to handle regulators
This patch makes use of mmc_regulator_get_supply() to handle
the vmmc and vqmmc regulators.Also it moves the code handling
the these regulators to dw_mci_set_ios().It turned on the vmmc
and vqmmc during MMC_POWER_UP and MMC_POWER_ON,and turned off
during MMC_POWER_OFF.
Signed-off-by: Yuvaraj Kumar C D <yuvaraj.cd@samsung.com>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Diffstat (limited to 'include/linux/mmc/dw_mmc.h')
-rw-r--r-- | include/linux/mmc/dw_mmc.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/mmc/dw_mmc.h b/include/linux/mmc/dw_mmc.h index 29ce014ab421..84e2827d0f0b 100644 --- a/include/linux/mmc/dw_mmc.h +++ b/include/linux/mmc/dw_mmc.h @@ -188,7 +188,7 @@ struct dw_mci { /* Workaround flags */ u32 quirks; - struct regulator *vmmc; /* Power regulator */ + bool vqmmc_enabled; unsigned long irq_flags; /* IRQ flags */ int irq; }; |