summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAmir Samuelov <amirs@codeaurora.org>2016-06-30 11:14:17 +0300
committerKyle Yan <kyan@codeaurora.org>2016-06-30 15:10:10 -0700
commita90c874c80ca87d70d0d34ffd1d7d6c1cbc59fe2 (patch)
treedac722bc0e9de71ac47029b2ca49ad944f2f73de
parentee021f5fbab1d41939ff4d5458ee2df585062276 (diff)
spcom: increase timeout for TX-Done notification
Normally, it takes few msec for SPSS to responde with ACK for TX data. However, due to SPSS HW issue, the SPSS might disable interrupts for a very long time, and not ACK for the data. Change-Id: I88a0b7a0637fb62d62ac760e9a8a946a5888d406 Signed-off-by: Amir Samuelov <amirs@codeaurora.org>
-rw-r--r--drivers/soc/qcom/spcom.c9
1 files changed, 7 insertions, 2 deletions
diff --git a/drivers/soc/qcom/spcom.c b/drivers/soc/qcom/spcom.c
index 0551011b537f..45af4b601634 100644
--- a/drivers/soc/qcom/spcom.c
+++ b/drivers/soc/qcom/spcom.c
@@ -136,8 +136,13 @@
/* The SPSS RAM size is 256 KB so SP App must fit into it */
#define SPCOM_MAX_APP_SIZE SZ_256K
-/* ACK timeout from remote side for TX data */
-#define TX_DONE_TIMEOUT_MSEC 100
+/*
+ * ACK timeout from remote side for TX data.
+ * Normally, it takes few msec for SPSS to responde with ACK for TX data.
+ * However, due to SPSS HW issue, the SPSS might disable interrupts
+ * for a very long time.
+ */
+#define TX_DONE_TIMEOUT_MSEC 5000
/*
* Initial transaction id, use non-zero nonce for debug.