diff options
Diffstat (limited to 'drivers/mmc/core/core.c')
-rw-r--r-- | drivers/mmc/core/core.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/drivers/mmc/core/core.c b/drivers/mmc/core/core.c index 5005a6323165..61c6c0b8f0e0 100644 --- a/drivers/mmc/core/core.c +++ b/drivers/mmc/core/core.c | |||
@@ -984,6 +984,15 @@ void mmc_set_timing(struct mmc_host *host, unsigned int timing) | |||
984 | } | 984 | } |
985 | 985 | ||
986 | /* | 986 | /* |
987 | * Select appropriate driver type for host. | ||
988 | */ | ||
989 | void mmc_set_driver_type(struct mmc_host *host, unsigned int drv_type) | ||
990 | { | ||
991 | host->ios.drv_type = drv_type; | ||
992 | mmc_set_ios(host); | ||
993 | } | ||
994 | |||
995 | /* | ||
987 | * Apply power to the MMC stack. This is a two-stage process. | 996 | * Apply power to the MMC stack. This is a two-stage process. |
988 | * First, we enable power to the card without the clock running. | 997 | * First, we enable power to the card without the clock running. |
989 | * We then wait a bit for the power to stabilise. Finally, | 998 | * We then wait a bit for the power to stabilise. Finally, |