regulator: tps80031: adjust tolerance if req minuV > dev minuV
authorMallikarjun Kasoju <mkasoju@nvidia.com>
Tue, 17 Jul 2012 10:34:01 +0000 (15:34 +0530)
committerVarun Wadekar <vwadekar@nvidia.com>
Mon, 30 Jul 2012 06:56:40 +0000 (11:56 +0530)
commit9fa452aecee4fbc225287a1b741d677f263af9a5
tree4df86eed98e519c2363a7cccb698064cd24e031f
parente30360b8164477e2d1960c21ff9e8ec1c8ba749d
regulator: tps80031: adjust tolerance if req minuV > dev minuV

Adjust the tolerance voltage only when requested minimum voltage is
more than the rail's minimum voltage.

bug 997415

Change-Id: Ie139c657f8550adba07b74a0cd5d69e2b53d62c2
Signed-off-by: Mallikarjun Kasoju <mkasoju@nvidia.com>
Reviewed-on: http://git-master/r/116405
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
drivers/regulator/tps80031-regulator.c