mmc: host: omap_hsmmc: remove unnecessary pbias set_voltage
authorKishon Vijay Abraham I <kishon@ti.com>
Thu, 27 Aug 2015 09:13:58 +0000 (14:43 +0530)
committerUlf Hansson <ulf.hansson@linaro.org>
Thu, 27 Aug 2015 12:54:06 +0000 (14:54 +0200)
Remove the unnecessary pbias regulator_set_voltage done after
pbias regulator_disable in omap_hsmmc_set_power.

Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>
Reviewed-by: Roger Quadros <rogerq@ti.com>
Tested-by: Tony Lindgren <tony@atomide.com>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/host/omap_hsmmc.c

index 58e4ffd3c70e9c1cdeddce817b4a85c2a96fc4c3..c4c284e0246ada49059fe9e11e943149ca434791 100644 (file)
@@ -272,7 +272,6 @@ static int omap_hsmmc_set_power(struct device *dev, int power_on, int vdd)
                        if (!ret)
                                host->pbias_enabled = 0;
                }
-               regulator_set_voltage(host->pbias, VDD_3V0, VDD_3V0);
        }
 
        /*