soc/qualcomm/ipq40xx: Reduce the delay in I2C.
BUG=b:28942403 TEST=Boot up and TPM functions normally. BRANCH=None 3ms delay is sufficient for qup_i2c_write_fifo_flush(). Change-Id: I202f5b8a1ef62bb039c56ba5a25b48b205cf4a67 Signed-off-by: Kan Yan <kyan@google.com> Reviewed-on: https://chromium-review.googlesource.com/357961 Reviewed-by: Suresh Rajashekara <sureshraj@chromium.org> Reviewed-by: SARAVANAKUMAR SUDALAI <ssudalai@qti.qualcomm.com>
This commit is contained in:
parent
c526906f99
commit
d93520fab1
1 changed files with 1 additions and 1 deletions
|
|
@ -175,7 +175,7 @@ static inline qup_return_t qup_i2c_write_fifo_flush(blsp_qup_id_t id)
|
|||
|
||||
qup_write32(QUP_ADDR(id, QUP_OPERATIONAL), OUTPUT_SERVICE_FLAG);
|
||||
|
||||
mdelay(10); /* TPM seems to need this */
|
||||
mdelay(4); /* TPM seems to need this */
|
||||
|
||||
ret = qup_fifo_wait_while(id, OUTPUT_FIFO_NOT_EMPTY);
|
||||
if (ret)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue