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>
This commit is contained in:
Amir Samuelov 2016-06-30 11:14:17 +03:00 committed by Kyle Yan
parent ee021f5fba
commit a90c874c80

View file

@ -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.