From c63b249f262fdd32a40e91f28ca6de18c31b2f2d Mon Sep 17 00:00:00 2001 From: zhouwl Date: Thu, 3 Sep 2020 13:29:20 +0800 Subject: [PATCH] soc: qcom: service-locator: enlarge timeout value Propogate changes from (CR). Dogfooder reported call has no sound issue, it happens on the first bootup after BOTA upgrading. According to kernel log, filesystem mount more than 5 minutes, causes locator service timed out. After discussing with Qcom, they suggest to enlarge this timeout value. Propagted: https://gerrit.mot.com/#/c/1538288/ Change-Id: I2457b452d21c7396d6a314ae5307c225c52d83da Signed-off-by: zhouwl Reviewed-on: https://gerrit.mot.com/1740479 SLTApproved: Slta Waiver SME-Granted: SME Approvals Granted Tested-by: Jira Key Reviewed-by: Hujun Liao Submit-Approved: Jira Key (cherry picked from commit 9f2105e6420cf9871b3c4b494f70dc98a8449379) Reviewed-on: https://gerrit.mot.com/1744516 Reviewed-by: Yunfei Guo Reviewed-by: Wang Wang --- drivers/soc/qcom/service-locator.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/soc/qcom/service-locator.c b/drivers/soc/qcom/service-locator.c index 3da5a978d9f6..8c710d0a3614 100644 --- a/drivers/soc/qcom/service-locator.c +++ b/drivers/soc/qcom/service-locator.c @@ -25,7 +25,7 @@ #define QMI_SERVREG_LOC_SERVER_INITIAL_TIMEOUT 2000 #define QMI_SERVREG_LOC_SERVER_TIMEOUT 2000 #define INITIAL_TIMEOUT 100000 -#define LOCATOR_SERVICE_TIMEOUT 300000 +#define LOCATOR_SERVICE_TIMEOUT 900000 #define LOCATOR_NOT_PRESENT 0 #define LOCATOR_PRESENT 1