From 3c30b503284cd3944e01ae4ba57b9dfa2b1dc29e Mon Sep 17 00:00:00 2001 From: Liu Yang Date: Fri, 1 Sep 2023 16:20:01 +0800 Subject: [PATCH] fogos: Power up and init sensor in advance Open this func for fogos in kernel. Change-Id: If8458d06fa7358453e43ce48da4f90762ce10a22 Signed-off-by: Liu Yang Reviewed-on: https://gerrit.mot.com/2727777 SME-Granted: SME Approvals Granted SLTApproved: Slta Waiver Tested-by: Jira Key Reviewed-by: Bolei Shang Reviewed-by: Ji Zhao Reviewed-by: Reviewed-by: Reviewed-by: Simon C Reviewed-by: Zhang Lei Reviewed-by: Reviewed-by: Guobin Zhang Submit-Approved: Jira Key --- arch/arm64/configs/vendor/ext_config/moto-holi-fogos.config | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm64/configs/vendor/ext_config/moto-holi-fogos.config b/arch/arm64/configs/vendor/ext_config/moto-holi-fogos.config index 9729fb619a51..13a09239a9c1 100644 --- a/arch/arm64/configs/vendor/ext_config/moto-holi-fogos.config +++ b/arch/arm64/configs/vendor/ext_config/moto-holi-fogos.config @@ -42,3 +42,4 @@ CONFIG_CAMERA_FLASH_IIC_COMPATIBLE=y CONFIG_EROFS_FS_PCPU_KTHREAD=y CONFIG_EROFS_FS_PCPU_KTHREAD_HIPRI=y CONFIG_MMAP_READAROUND_LIMIT=y +CONFIG_MOT_SENSOR_PRE_POWERUP=y