projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6c7dd4b
)
hid-debug: Show application usage for each collection.
author
Jeff Brown
<jeffbrown@google.com>
Sun, 24 Jul 2011 21:03:30 +0000
(14:03 -0700)
committer
Jeff Brown
<jeffbrown@google.com>
Tue, 16 Aug 2011 01:33:20 +0000
(18:33 -0700)
Change-Id: If8d3ef8647209143b5f0c171c385d37faf82de64
Signed-off-by: jeffbrown@android.com
drivers/hid/hid-debug.c
patch
|
blob
|
history
diff --git
a/drivers/hid/hid-debug.c
b/drivers/hid/hid-debug.c
index bae48745bb4281da2d77ee429882fa52093e60e2..9a243ca96e6db8fbb754b34e16e8c508ee289eab 100644
(file)
--- a/
drivers/hid/hid-debug.c
+++ b/
drivers/hid/hid-debug.c
@@
-450,6
+450,11
@@
void hid_dump_field(struct hid_field *field, int n, struct seq_file *f) {
seq_printf(f, "Logical(");
hid_resolv_usage(field->logical, f); seq_printf(f, ")\n");
}
+ if (field->application) {
+ tab(n, f);
+ seq_printf(f, "Application(");
+ hid_resolv_usage(field->application, f); seq_printf(f, ")\n");
+ }
tab(n, f); seq_printf(f, "Usage(%d)\n", field->maxusage);
for (j = 0; j < field->maxusage; j++) {
tab(n+2, f); hid_resolv_usage(field->usage[j].hid, f); seq_printf(f, "\n");