diff options
author | Ulf Hansson <ulf.hansson@stericsson.com> | 2011-11-04 15:13:19 +0100 |
---|---|---|
committer | Philippe Langlais <philippe.langlais@linaro.org> | 2012-03-06 17:30:03 +0100 |
commit | fb9eaf9802519386b098c1fdb66227abd38af444 (patch) | |
tree | 308762ad8cd95882e29ab4aa36d027a0e8ed85db | |
parent | 39688d809b8426268b50e2061116150034978e8e (diff) |
ARM: ux500: Enable levelshifter at MMC_POWER_ON only
There is no need to enable the levelshifter in the
MMC_POWER_UP state. Moreover we are not in a stable state
for starting to communicate with the SD-card. Thus we shall
not enable the levelshifter in this state.
Change-Id: I6fbcb5643513ebf658a2eb198d4a6ac24fbac872
Signed-off-by: Ulf Hansson <ulf.hansson@stericsson.com>
Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/36502
Reviewed-by: P.Hanumath PRASAD <hanumath.prasad@stericsson.com>
Tested-by: P.Hanumath PRASAD <hanumath.prasad@stericsson.com>
Reviewed-by: Stefan NILSSON9 <stefan.xk.nilsson@stericsson.com>
Reviewed-by: Srinidhi KASAGAR <srinidhi.kasagar@stericsson.com>
-rw-r--r-- | arch/arm/mach-ux500/board-mop500-sdi.c | 1 | ||||
-rw-r--r-- | arch/arm/mach-ux500/board-u5500-sdi.c | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/mach-ux500/board-mop500-sdi.c b/arch/arm/mach-ux500/board-mop500-sdi.c index 814c4e5c3b6..9a9f3b8117a 100644 --- a/arch/arm/mach-ux500/board-mop500-sdi.c +++ b/arch/arm/mach-ux500/board-mop500-sdi.c @@ -45,6 +45,7 @@ static int mop500_sdi0_ios_handler(struct device *dev, struct mmc_ios *ios) switch (ios->power_mode) { case MMC_POWER_UP: + break; case MMC_POWER_ON: /* * Level shifter voltage should depend on vdd to when deciding diff --git a/arch/arm/mach-ux500/board-u5500-sdi.c b/arch/arm/mach-ux500/board-u5500-sdi.c index 881035c4f4d..c3c21adeb1c 100644 --- a/arch/arm/mach-ux500/board-u5500-sdi.c +++ b/arch/arm/mach-ux500/board-u5500-sdi.c @@ -73,6 +73,7 @@ static int u5500_sdi1_ios_handler(struct device *dev, struct mmc_ios *ios) switch (ios->power_mode) { case MMC_POWER_UP: + break; case MMC_POWER_ON: /* * Level shifter voltage should depend on vdd to when deciding |