summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMary Ruthven <mruthven@chromium.org>2021-10-12 19:00:11 -0500
committerCommit Bot <commit-bot@chromium.org>2021-10-13 03:55:38 +0000
commit39e75e0a99061689620de3df9adc81bc1d810f66 (patch)
treea087d4ea4cf22af6ffdca8d5c52a988ad985bbc7
parente805689eacb082f252a25b7a9b07a44d8809442f (diff)
downloadchrome-ec-39e75e0a99061689620de3df9adc81bc1d810f66.tar.gz
i2cp: remove FE_TPM_I2C_ERROR log
FE_TPM_I2C_ERROR events don't mean much and it's not a big deal if cr50 needs to recover the I2C bus. Remove FE_TPM_I2C_ERROR logging from chip/i2cp. BUG=b:146067724 TEST=make buildall -j Change-Id: I2bdce35fc794559c8236b1c14d87fa4372ffafa4 Signed-off-by: Mary Ruthven <mruthven@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3219755 Reviewed-by: Vadim Bendebury <vbendeb@chromium.org>
-rw-r--r--chip/g/i2cp.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/chip/g/i2cp.c b/chip/g/i2cp.c
index 19257be813..d6b99c79a0 100644
--- a/chip/g/i2cp.c
+++ b/chip/g/i2cp.c
@@ -255,10 +255,6 @@ static void poll_read_state(void)
*/
i2cp_register_write_complete_handler(
write_complete_handler_);
-
-#ifdef CONFIG_FLASH_LOG
- flash_log_add_event(FE_TPM_I2C_ERROR, 0, NULL);
-#endif
return;
}
}