summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLin Bai <quic_lbai@quicinc.com>2023-02-08 18:39:33 +0800
committerMadan Koyyalamudi <quic_mkoyyala@quicinc.com>2023-02-08 21:04:53 -0800
commit13c9e92c31db97fad2edc79f5abd8df2acefc954 (patch)
treeadd5ddfcc37ea440e34ce8086a3b0f7924777356
parent2684b4a9d80a1bd1e873d1ab2594f3fc712dff67 (diff)
downloadwlan-platform-13c9e92c31db97fad2edc79f5abd8df2acefc954.tar.gz
cnss2: log the debug cmd for runtime_pm debugfs
User may configure such runtime_pm debugfs unexpected during test, add the log to explicitly show what is configured. Change-Id: I7d427603bfc7e6bb5d732fa3e29ff66c965e153b CRs-Fixed: 3399930
-rw-r--r--cnss2/debug.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/cnss2/debug.c b/cnss2/debug.c
index 0ab9f57..cb7560e 100644
--- a/cnss2/debug.c
+++ b/cnss2/debug.c
@@ -576,6 +576,8 @@ static ssize_t cnss_runtime_pm_debug_write(struct file *fp,
buf[len] = '\0';
cmd = buf;
+ cnss_pr_dbg("Received runtime_pm debug command: %s\n", cmd);
+
if (sysfs_streq(cmd, "usage_count")) {
cnss_pci_pm_runtime_show_usage_count(pci_priv);
} else if (sysfs_streq(cmd, "request_resume")) {