diff options
author | Johan Rudholm <johan.rudholm@stericsson.com> | 2013-01-28 15:08:25 +0100 |
---|---|---|
committer | Chris Ball <cjb@laptop.org> | 2013-02-24 14:37:06 -0500 |
commit | 276e090f9217b69e46d8255132d2667ac5eec51b (patch) | |
tree | 88bdee868736daed897cde6b498e2d51abd28091 /drivers/mmc/core/core.h | |
parent | 3f8a7fabd60e83eb2fb7add00d353d455c0e7a78 (diff) | |
download | talos-op-linux-276e090f9217b69e46d8255132d2667ac5eec51b.tar.gz talos-op-linux-276e090f9217b69e46d8255132d2667ac5eec51b.zip |
mmc: core: Add mmc_power_cycle
Add mmc_power_cycle which can be used to power cycle for instance
SD-cards.
Signed-off-by: Johan Rudholm <johan.rudholm@stericsson.com>
Acked-by: Ulf Hansson <ulf.hansson@linaro.org>
Tested-by: Wei WANG <wei_wang@realsil.com.cn>
Signed-off-by: Chris Ball <cjb@laptop.org>
Diffstat (limited to 'drivers/mmc/core/core.h')
-rw-r--r-- | drivers/mmc/core/core.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/mmc/core/core.h b/drivers/mmc/core/core.h index 0272b3284b5e..9007de74d8a9 100644 --- a/drivers/mmc/core/core.h +++ b/drivers/mmc/core/core.h @@ -45,6 +45,7 @@ int mmc_set_signal_voltage(struct mmc_host *host, int signal_voltage, void mmc_set_timing(struct mmc_host *host, unsigned int timing); void mmc_set_driver_type(struct mmc_host *host, unsigned int drv_type); void mmc_power_off(struct mmc_host *host); +void mmc_power_cycle(struct mmc_host *host); static inline void mmc_delay(unsigned int ms) { |