HID: rmi: change logging level of log messages related to unexpected reports
authorAndrew Duggan <aduggan@synaptics.com>
Fri, 11 Jul 2014 21:35:51 +0000 (14:35 -0700)
committerJiri Kosina <jkosina@suse.cz>
Tue, 29 Jul 2014 09:08:42 +0000 (11:08 +0200)
commit01a5f8a401a2a525b9546d65ddf69aaba37f288d
treeba5173e59fe5bcabe470168bb80e534bdab25727
parent9e2c327ee85e37264a1e04109efc7b97844afd0b
HID: rmi: change logging level of log messages related to unexpected reports

Userspace tools may use hidraw to perform operations on the device from userspace while
hid-rmi is bound to the device. This can cause hid-rmi to print error messages when its
->raw_event() callback gets called as the reports pass through the HID stack. In this case
receiving responses which were not initiated by hid-rmi is not actually an error so the resulting
error messages are incorrect and misleading. This patch changes the log messages to debug so
that the messages can be turned on in the event that there is a problem and there is not
a userspace tool running.

Signed-off-by: Andrew Duggan <aduggan@synaptics.com>
Reviewed-by: Benjamin Tissoires <benjamin.tissoires@redhat.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
drivers/hid/hid-rmi.c
This page took 0.030031 seconds and 5 git commands to generate.