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>
Thu, 1 Dec 2011 05:50:19 +0000 (21:50 -0800)
commit76277d029d1890725dbf6321944baaadfe67b024
tree99e3324f7a62c509a04bd409c5050f0dd0cabca7
parentecfa0055698c92c4155a03f5dfc2b05c5dea0729
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: R8b818dcb4fdaab118426df32144f846a0ab00fb3
drivers/mfd/tps80031.c
drivers/regulator/tps80031-regulator.c
include/linux/mfd/tps80031.h