regulator: palmas: make sure disable boost during suspend for SMPS10
authorLaxman Dewangan <ldewangan@nvidia.com>
Thu, 29 Aug 2013 02:35:30 +0000 (10:35 +0800)
committerDan Willemsen <dwillemsen@nvidia.com>
Sat, 14 Sep 2013 20:44:26 +0000 (13:44 -0700)
commit018b0aec4501f8ba4683529e09645d130e023fdc
treec16a7a411a009e1a76390245296cd84ffe33421d
parent1316c0c9a10b366dbbcd0a473db4a71760ad41d2
regulator: palmas: make sure disable boost during suspend for SMPS10

If flag for SMPS10 has the disable_boost_on_suspend is true then
make sure that boost of SMPS10 is disabled.

If any regulator is using this then defer the boost disable and
disable when client actually disable the smps10.

bug 1291841

Change-Id: Ia03d29f68132f87b970d4df8402b3cdd4dba95df
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Signed-off-by: Hunk Lin <hulin@nvidia.com>
Reviewed-on: http://git-master/r/239722
(cherry picked from commit 368abfad3a0b27fa893df2d1b201339701df367d)
Reviewed-on: http://git-master/r/267662
GVS: Gerrit_Virtual_Submit
drivers/regulator/palmas-regulator.c
include/linux/mfd/palmas.h