HID: make parser more verbose about parsing errors by default
authorJiri Kosina <jkosina@suse.cz>
Thu, 15 Dec 2011 10:00:38 +0000 (11:00 +0100)
committerJiri Kosina <jkosina@suse.cz>
Thu, 15 Dec 2011 10:00:38 +0000 (11:00 +0100)
commit8c3d52fc393b5be8b14dad67053ed83195f0d002
tree4592a1ef581127ac2f947ef4efa4ba8c58570228
parent672007957846c3d556165bab635a9c9b855261fa
HID: make parser more verbose about parsing errors by default

Most of the parsing errors (typically resulting in device not being claimed
by HID subsystem at all) are reported only in debugging mode, which makes
root-causing problems with buggy devices unnecessarily more difficult.

Convert reporting of important HID report descriptor parsing errors to
be reported through hid_err() / hid_warn() instead of dbg_hid().

Signed-off-by: Jiri Kosina <jkosina@suse.cz>
drivers/hid/hid-core.c