Преглед изворни кода

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
Lin Bai пре 2 година
родитељ
комит
13c9e92c31
1 измењених фајлова са 2 додато и 0 уклоњено
  1. 2 0
      cnss2/debug.c

+ 2 - 0
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")) {