commit | 962a071d2d3a66d40b23093b779a8269316419c2 | [log] [tgz] |
---|---|---|
author | Jinliang Wang <jinliangw@google.com> | Sat Nov 16 21:56:10 2024 -0800 |
committer | Anh Phan <anhphan@google.com> | Wed Nov 20 04:10:27 2024 +0000 |
tree | 1fb096c558e9975a5ddc07b6c90ca222bcf2f1dd | |
parent | b233008eeac9fac1535d1f67c95629f721251966 [diff] |
linux-gbmc: i2c-ast2600.c: fix two special cases during master xfer There are two special cases (describled in b/378795666#comment3 and b/378795666#comment4) which will make ast2600_i2c_master_xfer return -16 or -71 even though I2C controller already sends out the packet. Here we handle these two special cases and return correct return code so upper layer won't retry the packet. Tested: b/378795666#comment6 Platforms-Affected: all platforms Fusion-Link: platform11: https://fusion2.corp.google.com/bfbab31d-b695-301a-9b56-9b391a936751 (not related) platform5: https://fusion2.corp.google.com/276874c2-d2ff-3a24-a852-13601ce09a08 (known failure b/379855075) platform15: https://fusion2.corp.google.com/2ee0bb2d-239b-37db-a653-378d32b4f134 (passed) Google-Bug-Id: 378795666 Change-Id: Ic4ac31e46a19649577f231ba3cc1b5bb5f351b53 Signed-off-by: Jinliang Wang <jinliangw@google.com> (cherry picked from commit 16de73df192c683e1f6fdcad2a4cf4f136f853d5)