浏览代码

mmc: host: omap_hsmmc: remove unnecessary pbias set_voltage

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>
Kishon Vijay Abraham I 10 年之前
父节点
当前提交
ef62b8bc2c
共有 1 个文件被更改,包括 0 次插入1 次删除
  1. 0 1
      drivers/mmc/host/omap_hsmmc.c

+ 0 - 1
drivers/mmc/host/omap_hsmmc.c

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