summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJett Rink <jettrink@chromium.org>2019-05-03 08:59:27 -0600
committerChromeOS Commit Bot <chromeos-commit-bot@chromium.org>2019-05-03 16:49:32 +0000
commit72a1ddde8c66085c3baecd7ea4888b116ee93772 (patch)
tree0f8dfec36780e6fca985982ba4c5723b9f5e0bba
parent4653a3cb545e960d4bbe4e7b2eeb5dde5db731be (diff)
downloadchrome-ec-72a1ddde8c66085c3baecd7ea4888b116ee93772.tar.gz
ish/heci: print protocol for discarded msgs
Print the protocol id of discarded messages on console BRANCH=none BUG=none TEST=verified that protocol is being printed correctly Change-Id: I089ad0c55b89a321edcbf24f25ec13e13fda60b3 Signed-off-by: Jett Rink <jettrink@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/1594109 (cherry picked from commit 7d20b896677e10d7a350bb5b7ccaa9f9dcbc3423) Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/1594111
-rw-r--r--chip/ish/ipc_heci.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/chip/ish/ipc_heci.c b/chip/ish/ipc_heci.c
index 591e246f81..aaf30af61d 100644
--- a/chip/ish/ipc_heci.c
+++ b/chip/ish/ipc_heci.c
@@ -396,7 +396,7 @@ static void handle_msg_recv_interrupt(const uint32_t peer_id)
task_set_event(ctx->msg_events[protocol].task_id,
ctx->msg_events[protocol].event, 0);
} else {
- CPRINTS("discard msg : %d\n", invalid_msg);
+ CPRINTS("discard msg (%d) : %d", protocol, invalid_msg);
REG32(ctx->in_drbl_reg) = 0;
set_pimr_and_send_rx_complete(ctx);