commit | 6b0b63b3a7a56dfb69e081b893b34313a4ac39c2 | [log] [tgz] |
---|---|---|
author | Dino Li <Dino.Li@ite.com.tw> | Mon Jan 15 15:58:01 2024 +0800 |
committer | Fabio Baltieri <fabio.baltieri@gmail.com> | Mon Feb 26 11:54:13 2024 +0000 |
tree | 8d064d9c78fe606c2683bb433da4c757d415da85 | |
parent | b411094b85f08ce10979102c6e74b3bb21de0a6c [diff] |
ITE: drivers/i2c target mode: Fix racing condition The finish interrupt after the previous transaction is completed may occur in the next transaction. To do hardware reset at this time could potentially lead to the failure of the transaction. Therefore, removing the hardware reset upon completing the transaction helps to avoid a race condition. Signed-off-by: Tim Lin <tim2.lin@ite.corp-partner.google.com> Signed-off-by: Dino Li <Dino.Li@ite.com.tw>