hc
2024-05-11 04dd17822334871b23ea2862f7798fb0e0007777
kernel/drivers/usb/chipidea/debug.c
....@@ -18,7 +18,7 @@
1818 #include "bits.h"
1919 #include "otg.h"
2020
21
-/**
21
+/*
2222 * ci_device_show: prints information about device capabilities and status
2323 */
2424 static int ci_device_show(struct seq_file *s, void *data)
....@@ -47,7 +47,7 @@
4747 }
4848 DEFINE_SHOW_ATTRIBUTE(ci_device);
4949
50
-/**
50
+/*
5151 * ci_port_test_show: reads port test mode
5252 */
5353 static int ci_port_test_show(struct seq_file *s, void *data)
....@@ -67,7 +67,7 @@
6767 return 0;
6868 }
6969
70
-/**
70
+/*
7171 * ci_port_test_write: writes port test mode
7272 */
7373 static ssize_t ci_port_test_write(struct file *file, const char __user *ubuf,
....@@ -115,7 +115,7 @@
115115 .release = single_release,
116116 };
117117
118
-/**
118
+/*
119119 * ci_qheads_show: DMA contents of all queue heads
120120 */
121121 static int ci_qheads_show(struct seq_file *s, void *data)
....@@ -147,7 +147,7 @@
147147 }
148148 DEFINE_SHOW_ATTRIBUTE(ci_qheads);
149149
150
-/**
150
+/*
151151 * ci_requests_show: DMA contents of all requests currently queued (all endpts)
152152 */
153153 static int ci_requests_show(struct seq_file *s, void *data)
....@@ -342,7 +342,7 @@
342342 */
343343 void dbg_create_files(struct ci_hdrc *ci)
344344 {
345
- ci->debugfs = debugfs_create_dir(dev_name(ci->dev), NULL);
345
+ ci->debugfs = debugfs_create_dir(dev_name(ci->dev), usb_debug_root);
346346
347347 debugfs_create_file("device", S_IRUGO, ci->debugfs, ci,
348348 &ci_device_fops);