Skip to content

Commit f6c0837

Browse files
Claudio Carvalhostewartsmith
Claudio Carvalho
authored andcommitted
libstb: bump up the byte timeout for tpm i2c requests
This bumps up the byte timeout for tpm i2c requests from 10ms to 30ms. Some p8dtu systems are getting i2c request timeout. Signed-off-by: Claudio Carvalho <[email protected]> Signed-off-by: Stewart Smith <[email protected]>
1 parent 02a628a commit f6c0837

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libstb/drivers/tpm_i2c_interface.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
//#define DBG(fmt, ...) prlog(PR_DEBUG, fmt, ##__VA_ARGS__)
2626
#define DBG(fmt, ...)
2727

28-
#define I2C_BYTE_TIMEOUT_MS 10 /* 10ms/byte timeout */
28+
#define I2C_BYTE_TIMEOUT_MS 30 /* 30ms/byte timeout */
2929
#define TPM_MAX_NACK_RETRIES 2
3030
#define REQ_COMPLETE_POLLING 5 /* Check if req is complete
3131
in 5ms interval */

0 commit comments

Comments
 (0)