summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlf Hansson <ulf.hansson@stericsson.com>2011-11-04 15:13:19 +0100
committerPhilippe Langlais <philippe.langlais@stericsson.com>2012-05-22 11:02:58 +0200
commit5d92f256f768c38ea345bcbd8434944d8d03a734 (patch)
tree65fa313dabede17c495b8b2dbeee61d36b1ad247
parent04c12decba2b243cb7910547d0d894ab87da96bd (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.c1
-rw-r--r--arch/arm/mach-ux500/board-u5500-sdi.c1
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 d6a42ddd68a..334a41a50ce 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 c7b828942e7..31a8c8ecdc9 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