OMAP4: PM: TWL6030: fix uv to voltage for >0x39
authorNishanth Menon <nm@ti.com>
Wed, 18 May 2011 05:17:31 +0000 (00:17 -0500)
committerKevin Hilman <khilman@ti.com>
Thu, 15 Sep 2011 19:09:36 +0000 (12:09 -0700)
commit366494250b60af14fbab4d94d6bb1d1b6d17f10b
tree47557a9d03cb7249dea97b430d86138bfecc2c6a
parent58e241f7be8dfbb19fa8f5bf8b2e56bb6d655752
OMAP4: PM: TWL6030: fix uv to voltage for >0x39

using 1.35V as a check is not correct, we know that beyond 0x39,
voltages are non linear - hence use the conversion iff uV greater
than that for 0x39. For example, with  709mV as the smps offset,
the max linear is actually 1.41V(0x39vsel)!

Signed-off-by: Nishanth Menon <nm@ti.com>
arch/arm/mach-omap2/omap_twl.c