Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 09bafa30 authored by Deepak Katragadda's avatar Deepak Katragadda
Browse files

soc: qcom: sysmon: Increase the shutdown indication timeout



Currently, after sending a shutdown request to the
SSCTL v2 service on the subsystem, the sysmon-qmi
driver waits for 5 seconds to receive an indication
before it returns an error and proceeds with powering
down the subsystem. This timeout is not adequate in
all cases since sometimes, the modem shutdown/cleanup
can take up to 10 seconds. Increase the sysmon driver
timeout to match that.

CRs-Fixed: 860304
Change-Id: I0c0237d576680563bae57f293599288499e5a5a5
Signed-off-by: default avatarDeepak Katragadda <dkatraga@codeaurora.org>
parent 4c47f344
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
/*
 * Copyright (c) 2014, The Linux Foundation. All rights reserved.
 * Copyright (c) 2014-2015, The Linux Foundation. All rights reserved.
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License version 2 and
@@ -49,7 +49,7 @@
#define SSCTL_SERVICE_ID			0x2B
#define SSCTL_VER_2				2
#define SERVER_TIMEOUT				500
#define SHUTDOWN_TIMEOUT			5000
#define SHUTDOWN_TIMEOUT			10000

#define QMI_EOTI_DATA_TYPE	\
{				\