summaryrefslogtreecommitdiff
path: root/chip/ish/ipc_heci.c
diff options
context:
space:
mode:
authorJett Rink <jettrink@chromium.org>2019-05-03 08:59:27 -0600
committerJett Rink <jettrink@chromium.org>2019-05-03 16:45:11 +0000
commita87deb3376ca76e76c734f3204a776e828011b5b (patch)
tree87fa0b4a1d9b77feea1fc18d35638bcbc589e49a /chip/ish/ipc_heci.c
parent1d3da76d2e7b9ba93825a3b6f347fe64ae092453 (diff)
downloadchrome-ec-a87deb3376ca76e76c734f3204a776e828011b5b.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
Diffstat (limited to 'chip/ish/ipc_heci.c')
-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 2d9734acf0..b0faa5bfbd 100644
--- a/chip/ish/ipc_heci.c
+++ b/chip/ish/ipc_heci.c
@@ -378,7 +378,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);
*(ctx->in_drbl_reg) = 0;
set_pimr_and_send_rx_complete(ctx);