]> err.no Git - linux-2.6/commit
HID: make debugging output runtime-configurable
authorJiri Kosina <jkosina@suse.cz>
Wed, 30 May 2007 13:07:13 +0000 (15:07 +0200)
committerJiri Kosina <jkosina@suse.cz>
Mon, 9 Jul 2007 12:03:35 +0000 (14:03 +0200)
commit58037eb961f859607b161c50d9d4ecb374de1e8f
treec192854fa4cfc16cce272b800a0393e21429191e
parent7dcca30a32aadb0520417521b0c44f42d09fe05c
HID: make debugging output runtime-configurable

There have been many reports recently about broken HID devices, the
diagnosis of which required users to recompile their kernels in order
to be able to provide debugging output needed for coding a quirk for
a particular device.

This patch makes CONFIG_HID_DEBUG default y if !EMBEDDED and makes it
possible to control debugging output produced by HID code by supplying
'debug=1' module parameter.

Signed-off-by: Jiri Kosina <jkosina@suse.cz>
12 files changed:
drivers/hid/Kconfig
drivers/hid/hid-core.c
drivers/hid/hid-debug.c
drivers/hid/hid-input.c
drivers/hid/usbhid/hid-core.c
drivers/hid/usbhid/hid-lgff.c
drivers/hid/usbhid/hid-quirks.c
drivers/hid/usbhid/hid-tmff.c
drivers/hid/usbhid/hid-zpff.c
drivers/hid/usbhid/hiddev.c
drivers/hid/usbhid/usbkbd.c
include/linux/hid.h