Commit 46cbd56a authored by Viresh Kumar's avatar Viresh Kumar Committed by Chris Ball

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: default avatarViresh Kumar <viresh.kumar@st.com>
Signed-off-by: default avatarChris Ball <cjb@laptop.org>
parent e51cbc9e
...@@ -177,8 +177,6 @@ static int __devinit sdhci_probe(struct platform_device *pdev) ...@@ -177,8 +177,6 @@ static int __devinit sdhci_probe(struct platform_device *pdev)
sdhci->data->card_power_gpio); sdhci->data->card_power_gpio);
goto err_pgpio_direction; goto err_pgpio_direction;
} }
gpio_set_value(sdhci->data->card_power_gpio, 1);
} }
if (sdhci->data->card_int_gpio >= 0) { if (sdhci->data->card_int_gpio >= 0) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment