summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
Diffstat (limited to 'drivers')
-rw-r--r--drivers/mmc/host/omap_hsmmc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mmc/host/omap_hsmmc.c b/drivers/mmc/host/omap_hsmmc.c
index de6a643b0689..aaad72a726d9 100644
--- a/drivers/mmc/host/omap_hsmmc.c
+++ b/drivers/mmc/host/omap_hsmmc.c
@@ -285,7 +285,7 @@ static int omap_hsmmc_1_set_power(struct device *dev, int slot, int power_on,
2900000, 2900000);
}
- if (host->vcc_aux && !host->regulator_enabled && !ret) {
+ if (host->vcc_aux && !host->regulator_enabled) {
ret = regulator_enable(host->vcc_aux);
if (!ret)
host->regulator_enabled = 1;