diff options
author | Jeff Brown <jeffbrown@google.com> | 2011-07-24 14:03:30 -0700 |
---|---|---|
committer | Jeff Brown <jeffbrown@google.com> | 2011-08-15 18:33:20 -0700 |
commit | 44906417e5e3afe3d033f84fd4cab05ba2cf6993 (patch) | |
tree | c6b5dc5ff323a65805c45b7c0bbc6967d476828d /drivers/hid | |
parent | 6c7dd4ba33be413ab5f689c434c797a99225afc3 (diff) | |
download | kernel_samsung_aries-44906417e5e3afe3d033f84fd4cab05ba2cf6993.zip kernel_samsung_aries-44906417e5e3afe3d033f84fd4cab05ba2cf6993.tar.gz kernel_samsung_aries-44906417e5e3afe3d033f84fd4cab05ba2cf6993.tar.bz2 |
hid-debug: Show application usage for each collection.
Change-Id: If8d3ef8647209143b5f0c171c385d37faf82de64
Signed-off-by: jeffbrown@android.com
Diffstat (limited to 'drivers/hid')
-rw-r--r-- | drivers/hid/hid-debug.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/hid/hid-debug.c b/drivers/hid/hid-debug.c index bae4874..9a243ca 100644 --- 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"); |