diff options
author | Victor Hsu <hsuvictor@google.com> | 2023-01-04 06:17:53 +0000 |
---|---|---|
committer | Victor Hsu <hsuvictor@google.com> | 2023-01-04 06:17:53 +0000 |
commit | 176c6844d95cdc637cf21804bf25cbcc15ece4be (patch) | |
tree | 4bf79da1c63aa68576ff5ab287fd5ec2830dc5cb | |
parent | ca2b8032c65cf7d53907332aa332b9ed03050827 (diff) | |
download | cnss2-176c6844d95cdc637cf21804bf25cbcc15ece4be.tar.gz |
mhi: Print some debug messages for HSI2 timeout debugging
HSI2 timeout when wlan do dp_tx_ring_access_end_wrapper().
Enable the log of mhi_process_ctrl_ev_ring() to help
judge the issue caused by WLAN or PCIE.
Bug: 262677053
Test: mhi log is printed.
Change-Id: I013ddc8aceb34b4a6ff48c55b07e35640d7b2d23
Signed-off-by: Victor Hsu <hsuvictor@google.com>
-rw-r--r-- | mhi/core/main.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mhi/core/main.c b/mhi/core/main.c index 0a81ced..cd7d474 100644 --- a/mhi/core/main.c +++ b/mhi/core/main.c @@ -905,7 +905,7 @@ int mhi_process_ctrl_ev_ring(struct mhi_controller *mhi_cntrl, new_state = MHI_TRE_GET_EV_STATE(local_rp); - MHI_VERB("State change event to state: %s\n", + MHI_LOG("State change event to state: %s\n", TO_MHI_STATE_STR(new_state)); switch (new_state) { @@ -946,7 +946,7 @@ int mhi_process_ctrl_ev_ring(struct mhi_controller *mhi_cntrl, enum dev_st_transition st = DEV_ST_TRANSITION_MAX; enum mhi_ee_type event = MHI_TRE_GET_EV_EXECENV(local_rp); - MHI_VERB("Received EE event: %s\n", + MHI_LOG("Received EE event: %s\n", TO_MHI_EXEC_STR(event)); switch (event) { case MHI_EE_SBL: |