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)
committerSimone Willett <swillett@nvidia.com>
Wed, 18 Jul 2012 21:39:33 +0000 (14:39 -0700)
commit9d4eeb8ee6eba84d932ab05b7eb6a5b4ddedb288
treefbfa4e31779d47786e3a636b842bedecaee250e7
parent79cb5050b1bfbc5a55a53a33d41f6a392befddf5
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