diff options
author | Hsiu-Chang Chen <hsiuchangchen@google.com> | 2022-11-08 13:23:56 +0800 |
---|---|---|
committer | Hsiu-Chang Chen <hsiuchangchen@google.com> | 2022-11-08 13:23:56 +0800 |
commit | 8d7c73099e9eb1d2e7d637667473bce15577bf58 (patch) | |
tree | c97943417d203b1abf3d8048c39f52bb7be1a0db /mhi | |
parent | c612c71bdf0ef8bebf6ddf0a70803a949885274b (diff) | |
download | cnss2-8d7c73099e9eb1d2e7d637667473bce15577bf58.tar.gz |
mhi: Print state transition handling log
Bug: 252570841
Test: Desired log shows in the dmesg
Change-Id: I5e3d1947303b137910134716a6131d94427b38be
Diffstat (limited to 'mhi')
-rw-r--r-- | mhi/core/pm.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/mhi/core/pm.c b/mhi/core/pm.c index 45ddbbb..02b340f 100644 --- a/mhi/core/pm.c +++ b/mhi/core/pm.c @@ -747,8 +747,13 @@ void mhi_pm_st_worker(struct work_struct *work) list_for_each_entry_safe(itr, tmp, &head, node) { list_del(&itr->node); +#if defined(CONFIG_WCN_GOOGLE) + MHI_LOG("Handling state transition: %s\n", + TO_DEV_STATE_TRANS_STR(itr->state)); +#else MHI_VERB("Handling state transition: %s\n", TO_DEV_STATE_TRANS_STR(itr->state)); +#endif switch (itr->state) { case DEV_ST_TRANSITION_PBL: |