commit | 7b0a89e4c37bf223155cc0fda33eb6df0d9ac2c2 | [log] [tgz] |
---|---|---|
author | Tim Lin <tim2.lin@ite.corp-partner.google.com> | Mon May 03 14:46:40 2021 +0800 |
committer | Anas Nashif <anas.nashif@intel.com> | Thu May 13 11:52:53 2021 -0400 |
tree | 2b2796a8a23e900c6b38696594ad16c28fedb6ce | |
parent | 8f823a07d3408905b4b90bd1eb9271062e3075eb [diff] |
ite: drivers/i2c: it8xxx2: fix i2c_reset issue After i2c_reset, there is still no external pull-up I2C bus, and finishing off the rest of loop causes the code to hang indefinitely. This patch fixes that if I2C bus is not available(No external pull-up), dropping the transaction. Signed-off-by: Tim Lin <tim2.lin@ite.corp-partner.google.com>