ARM: tegra: power: add cpu-dvs table for tegra3
Diwakar Tundlam [Tue, 15 Mar 2011 23:16:58 +0000 (16:16 -0700)]
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>
Original-Change-Id: I9553f03a1947015c7a19c13eb2881835e04a5614

Rebase-Id: R8bbf67b9159fa5a1105dee9d14fe294db210ab81

drivers/regulator/tps6591x-regulator.c

index 0fc6555..8c56f3a 100755 (executable)
@@ -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;
                        }
                }
        }