]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
HID: only dump report traffic with debug level 2
authorAnssi Hannula <anssi.hannula@gmail.com>
Sat, 22 Mar 2008 22:50:13 +0000 (23:50 +0100)
committerJiri Kosina <jkosina@suse.cz>
Tue, 22 Apr 2008 09:34:57 +0000 (11:34 +0200)
commit377e10fbb4ef219f540d06796e9fb0d3ec35a58f
treec52cacc2e4dce8abcab934042cb972c3d3d0c21b
parent02008faa031f7a87b6c9df8b503a64288c8b5493
HID: only dump report traffic with debug level 2

Currently using debug=1 with hid module prints out all sent and received
reports to the kernel log, while in many cases we only want to see the
report descriptors and hid-input mappings that are printed when a device
is probed.

Add new level debug=2, and only dump the report traffic with that level.

Signed-off-by: Anssi Hannula <anssi.hannula@gmail.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
drivers/hid/hid-core.c
drivers/hid/hid-debug.c