summaryrefslogtreecommitdiff
path: root/drivers/regulator
diff options
context:
space:
mode:
authorDiwakar Tundlam <dtundlam@nvidia.com>2011-03-15 16:16:58 -0700
committerDan Willemsen <dwillemsen@nvidia.com>2011-04-26 15:54:00 -0700
commitfb400c2353324bf98ec9e0316a5b8ba2e6a7cc68 (patch)
tree190f4bf2bed28dbfe0b27ad932e6a5264295b761 /drivers/regulator
parent67468efdb200fccd7419c82388a429923b064f3f (diff)
ARM: tegra: power: add cpu-dvs table for tegra3
Original-Change-Id: I3eac69eec691e4e75d698011461e578324fb4c1d Reviewed-on: http://git-master/r/23094 Tested-by: Diwakar Tundlam <dtundlam@nvidia.com> Reviewed-by: Aleksandr Frid <afrid@nvidia.com> Reviewed-by: Scott Williams <scwilliams@nvidia.com> Change-Id: I9553f03a1947015c7a19c13eb2881835e04a5614
Diffstat (limited to 'drivers/regulator')
-rwxr-xr-xdrivers/regulator/tps6591x-regulator.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/drivers/regulator/tps6591x-regulator.c b/drivers/regulator/tps6591x-regulator.c
index 0fc65557c5f7..8c56f3a12fbd 100755
--- a/drivers/regulator/tps6591x-regulator.c
+++ b/drivers/regulator/tps6591x-regulator.c
@@ -22,6 +22,7 @@
*/
#include <linux/kernel.h>
+#include <linux/delay.h>
#include <linux/init.h>
#include <linux/err.h>
#include <linux/slab.h>
@@ -342,8 +343,10 @@ static int __tps6591x_vdd_set_voltage(struct device *parent,
val <<= ri->op_reg.shift_bits;
mask = ((1 << ri->op_reg.nbits) - 1)
<< ri->op_reg.shift_bits;
- return tps6591x_update(parent,
+ ret = tps6591x_update(parent,
ri->op_reg.addr, val, mask);
+ udelay(100);
+ return ret;
}
}
}