diff options
author | Diwakar Tundlam <dtundlam@nvidia.com> | 2011-03-15 16:16:58 -0700 |
---|---|---|
committer | Dan Willemsen <dwillemsen@nvidia.com> | 2011-04-26 15:54:00 -0700 |
commit | fb400c2353324bf98ec9e0316a5b8ba2e6a7cc68 (patch) | |
tree | 190f4bf2bed28dbfe0b27ad932e6a5264295b761 /drivers/regulator | |
parent | 67468efdb200fccd7419c82388a429923b064f3f (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-x | drivers/regulator/tps6591x-regulator.c | 5 |
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; } } } |