diff --git a/drivers/input/misc/vl53L1/stmvl53l1_module.c b/drivers/input/misc/vl53L1/stmvl53l1_module.c index 6a64d37f44f3..9027f65093ac 100644 --- a/drivers/input/misc/vl53L1/stmvl53l1_module.c +++ b/drivers/input/misc/vl53L1/stmvl53l1_module.c @@ -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,