diff options
author | Laxman Dewangan <ldewangan@nvidia.com> | 2013-06-18 16:41:57 +0530 |
---|---|---|
committer | Gabby Lee <galee@nvidia.com> | 2013-06-23 19:10:16 -0700 |
commit | 52b5af137b24d58fe1d13e34357e87ad5e54413d (patch) | |
tree | 035a727fec408172c4c5a10a1a5e92ce239ca1d6 /include | |
parent | b8b09255195cde8e08cf23f1929f15e1ce0f51be (diff) |
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
(cherry picked from commit 368abfad3a0b27fa893df2d1b201339701df367d)
Signed-off-by: Harry Hong <hhong@nvidia.com>
Change-Id: I9cd793bc0e8a49a0f295c1490d5bd92e9ccba57c
Reviewed-on: http://git-master/r/240921
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Yong Goo Yi <yyi@nvidia.com>
Tested-by: Yong Goo Yi <yyi@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Gabby Lee <galee@nvidia.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/mfd/palmas.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/mfd/palmas.h b/include/linux/mfd/palmas.h index 50a19ada56cd..60b93cbac733 100644 --- a/include/linux/mfd/palmas.h +++ b/include/linux/mfd/palmas.h @@ -315,6 +315,7 @@ struct palmas_pmic { int smps123; int smps457; bool smps10_regulator_enabled; + bool smps10_boost_disable_deferred; unsigned int ramp_delay[PALMAS_NUM_REGS]; unsigned int current_mode_reg[PALMAS_NUM_REGS]; |