mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-12 07:37:31 -04:00
Turn off ToF sensor force device on
Turn off STMVL53L1 ToF sensor force_device_on and let the ToF power supllies (VDD) to disable during power down, otherwise ToF VDD will always On. Change-Id: I17363f88921868a05ef833ce63c94cff0c7b6ecb Reviewed-on: https://gerrit.mot.com/1368523 SLTApproved: Slta Waiver SME-Granted: SME Approvals Granted Tested-by: Jira Key Reviewed-by: Sumit Jamadar <xkbr38@motorola.com> Reviewed-by: Rav(CR) Vembu <raviv@motorola.com> Submit-Approved: Jira Key
This commit is contained in:
parent
4cd52d87bc
commit
01d541eec7
1 changed files with 4 additions and 1 deletions
|
|
@ -179,7 +179,10 @@ static long stmvl53l1_compat_ioctl(struct file *file,
|
|||
unsigned int cmd, unsigned long arg);
|
||||
#endif
|
||||
|
||||
static bool force_device_on_en_default = true;
|
||||
// Turn off force_device_on flag and let ToF power supplies power down when ToF
|
||||
// sensor ToF sensor powers down.
|
||||
// If flag is set to true then VDD regulator will never turn down.
|
||||
static bool force_device_on_en_default = false;
|
||||
|
||||
module_param(force_device_on_en_default, bool, 0444);
|
||||
MODULE_PARM_DESC(force_device_on_en_default,
|
||||
|
|
|
|||
Loading…
Reference in a new issue