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-19 22:24:26 +0000
commit826ec33aeffb3437a8b206e552a47e5f237e87d4 (patch)
tree88256ac3702c45d685af77d70f7fdfadf7c545f1
parent25f54f2c9b89994689a63b7a3a4731c3e0961419 (diff)
downloadchrome-ec-826ec33aeffb3437a8b206e552a47e5f237e87d4.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> (cherry picked from commit 39e75e0a99061689620de3df9adc81bc1d810f66) Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3229795 Reviewed-by: Andrey Pronin <apronin@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 d006707f11..b07f13f419 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;
}
}