aboutsummaryrefslogtreecommitdiff
path: root/drivers/mtd/lpddr/lpddr_cmds.c
diff options
context:
space:
mode:
authorPhilipp Zabel <[email protected]>2009-05-28 21:00:03 +0200
committerLiam Girdwood <[email protected]>2009-06-15 11:18:27 +0100
commitc8f1e5025ca2fa8e6e037451f3d271e66745a19b (patch)
tree22d0cc384cee47f639163daa15a1d6dff91da1b4 /drivers/mtd/lpddr/lpddr_cmds.c
parentb110a8fb242bc34e4b7686252899ce0fca956e2c (diff)
regulator/max1586: fix V3 gain calculation integer overflow
On Thu, May 28, 2009 at 10:59 AM, Mark Brown <[email protected]> wrote: > On Thu, May 28, 2009 at 07:15:16AM +0200, Philipp Zabel wrote: >> The V3 regulator can be configured with an external resistor >> connected to the feedback pin (R24 in the data sheet) to >> increase the voltage range. >> >> For example, hx4700 has R24 = 3.32 kOhm to achieve a maximum >> V3 voltage of 1.55 V which is needed for 624 MHz CPU frequency. >> >> Signed-off-by: Philipp Zabel <[email protected]> > > Looks good. > > Acked-by: Mark Brown <[email protected]> Thanks, but it turns out I hit a 32 bit integer overflow in the gain calculation. I'd like to mend that with the following patch. Now max_uV could be increased up to 4.294 V, enough to charge LiPo cells. Signed-off-by: Philipp Zabel <[email protected]> Acked-by: Robert Jarzmik <[email protected]> Signed-off-by: Liam Girdwood <[email protected]>
Diffstat (limited to 'drivers/mtd/lpddr/lpddr_cmds.c')
0 files changed, 0 insertions, 0 deletions