diff options
author | Mary Ruthven <mruthven@chromium.org> | 2021-10-14 18:19:47 +0000 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2021-10-15 18:39:17 +0000 |
commit | 2b702d8cc86ac5763a5181854caf2139b61b4e7c (patch) | |
tree | 909f133d49ee113f2973937c38b76b0f891e8fbb /util | |
parent | 484f31b694f04a3b027e3129f5153044a296ee5c (diff) | |
download | chrome-ec-2b702d8cc86ac5763a5181854caf2139b61b4e7c.tar.gz |
i2cp: reduce the number of i2c flog errors
Cap the number of I2C flog errors at 2 per boot. The timestamps of the
two events can indicate if the unwedge issues happen successively or if
there is a large gap between events. Many events with a short gap are
likely benign and due to i2c not being terminated correctly. Inidividual
I2C errors are likely caused by some other issue.
BUG=b:146067724
TEST=check the number of i2c log messages on coral in s0ix
Change-Id: I3f04c85e6233bf0c790db0d40a85aab3c927b9b8
Signed-off-by: Mary Ruthven <mruthven@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3225996
Reviewed-by: Vadim Bendebury <vbendeb@chromium.org>
Diffstat (limited to 'util')
0 files changed, 0 insertions, 0 deletions