regulator: palmas: make sure disable boost during suspend for SMPS10
authorLaxman Dewangan <ldewangan@nvidia.com>
Tue, 18 Jun 2013 11:11:57 +0000 (16:11 +0530)
committerRiham Haidar <rhaidar@nvidia.com>
Wed, 19 Jun 2013 22:25:58 +0000 (15:25 -0700)
commit368abfad3a0b27fa893df2d1b201339701df367d
tree4270c83c260fca87b5891aca79ee7342ea06e23f
parent78bf03551e9d97f1a771a6a88138ad6cc2e9609a
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>
Reviewed-on: http://git-master/r/239722
Reviewed-by: Riham Haidar <rhaidar@nvidia.com>
Tested-by: Riham Haidar <rhaidar@nvidia.com>
drivers/regulator/palmas-regulator.c
include/linux/mfd/palmas.h