-Since power_gpio is not used anywhere and showing
compilation warning, so removed it.
Bug
200216732
Change-Id: I3937116f836eb7b70d43ea0ffc7ff94d13b0babc
Signed-off-by: Anubhav Jain <anubhavj@nvidia.com>
Reviewed-on: http://git-master/r/
1175418
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Pavan Kunapuli <pkunapuli@nvidia.com>
Reviewed-by: Bitan Biswas <bbiswas@nvidia.com>
struct sdhci_tegra {
const struct sdhci_tegra_soc_data *soc_data;
- struct gpio_desc *power_gpio;
const struct tegra_sdhci_platform_data *plat;
struct tegra_bwmgr_client *emc_clk;
bool clk_enabled;
} else if ((!rc) && (signal_voltage == MMC_SIGNAL_VOLTAGE_180))
tegra_host->set_1v8_status = true;
- if (gpio_is_valid(tegra_host->power_gpio)) {
- if (signal_voltage == MMC_SIGNAL_VOLTAGE_330) {
- gpio_set_value(tegra_host->power_gpio, 1);
- } else {
- gpio_set_value(tegra_host->power_gpio, 0);
- mdelay(1000);
- }
- }
-
/* Wait for the voltage to stabilize */
mdelay(10);