summaryrefslogtreecommitdiffstats
path: root/drivers/mmc/host/sdhci-spear.c
diff options
context:
space:
mode:
authorViresh Kumar <viresh.kumar@st.com>2011-09-12 13:22:49 +0200
committerChris Ball <cjb@laptop.org>2011-10-26 22:32:00 +0200
commit46cbd56ad4a686c52eeab427faf7e28415bbf28f (patch)
tree551e6bb845ef347f58d03821f1c9477d8b5fddcb /drivers/mmc/host/sdhci-spear.c
parentmmc: sdhci-of-esdhc: Access Freescale eSDHC registers as 32-bit (diff)
downloadlinux-46cbd56ad4a686c52eeab427faf7e28415bbf28f.tar.xz
linux-46cbd56ad4a686c52eeab427faf7e28415bbf28f.zip
mmc: sdhci-spear: Don't set power gpio to 1 on probe
Currently if card_power_gpio is passed from platform data, it is acquired and its value is either set or reset. After that we overwrite it with 1, which is not required. So, this patch removes the extra line which sets its value. Signed-off-by: Viresh Kumar <viresh.kumar@st.com> Signed-off-by: Chris Ball <cjb@laptop.org>
Diffstat (limited to 'drivers/mmc/host/sdhci-spear.c')
-rw-r--r--drivers/mmc/host/sdhci-spear.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/mmc/host/sdhci-spear.c b/drivers/mmc/host/sdhci-spear.c
index 60a4c97d3d18..a0630c32a05c 100644
--- a/drivers/mmc/host/sdhci-spear.c
+++ b/drivers/mmc/host/sdhci-spear.c
@@ -177,8 +177,6 @@ static int __devinit sdhci_probe(struct platform_device *pdev)
sdhci->data->card_power_gpio);
goto err_pgpio_direction;
}
-
- gpio_set_value(sdhci->data->card_power_gpio, 1);
}
if (sdhci->data->card_int_gpio >= 0) {