Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 91852
b: refs/heads/master
c: 377e10f
h: refs/heads/master
v: v3
  • Loading branch information
Anssi Hannula authored and Jiri Kosina committed Apr 22, 2008
1 parent b04a097 commit bc2e88a
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 02008faa031f7a87b6c9df8b503a64288c8b5493
refs/heads/master: 377e10fbb4ef219f540d06796e9fb0d3ec35a58f
4 changes: 2 additions & 2 deletions trunk/drivers/hid/hid-core.c
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,8 @@

#ifdef CONFIG_HID_DEBUG
int hid_debug = 0;
module_param_named(debug, hid_debug, bool, 0600);
MODULE_PARM_DESC(debug, "Turn HID debugging mode on and off");
module_param_named(debug, hid_debug, int, 0600);
MODULE_PARM_DESC(debug, "HID debugging (0=off, 1=probing info, 2=continuous data dumping)");
EXPORT_SYMBOL_GPL(hid_debug);
#endif

Expand Down
2 changes: 1 addition & 1 deletion trunk/drivers/hid/hid-debug.c
Original file line number Diff line number Diff line change
Expand Up @@ -498,7 +498,7 @@ void hid_dump_device(struct hid_device *device) {
EXPORT_SYMBOL_GPL(hid_dump_device);

void hid_dump_input(struct hid_usage *usage, __s32 value) {
if (!hid_debug)
if (hid_debug < 2)
return;

printk(KERN_DEBUG "hid-debug: input ");
Expand Down

0 comments on commit bc2e88a

Please sign in to comment.