regulator: tps80031: Check configuraton for LDO2-Track mode
authorLaxman Dewangan <ldewangan@nvidia.com>
Thu, 17 Nov 2011 07:01:40 +0000 (12:01 +0530)
committerDan Willemsen <dwillemsen@nvidia.com>
Fri, 23 Mar 2012 21:18:17 +0000 (14:18 -0700)
commit828ab64ebfec8e288a462a8a085a9bcb08ff7272
tree34afde3a10d49667f063432546d03805916df5ac
parent6a86aa39d4e9c2cb342f782f82f93dedf3c6c286
regulator: tps80031: Check configuraton for LDO2-Track mode

Some of the values are not supported in the LDO2 configuration
when using in track mode due to hw issue in tps80031 and
tps80032-ES1.0.
Adding proper check before configuring the LDO2 in this case.

bug 898613

Reviewed-on: http://git-master/r/65441
(cherry picked from commit 58e3672102825b662ea904b46b6c1efbf639365b)

Change-Id: I4e63a932d32c7cb2d13a07611acfa0b7dae649cc
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: http://git-master/r/66327
Reviewed-by: Lokesh Pathak <lpathak@nvidia.com>
Tested-by: Lokesh Pathak <lpathak@nvidia.com>

Rebase-Id: Rb66ed786391b3dbfefc6b8702cab3867c208fdff
drivers/regulator/tps80031-regulator.c