summaryrefslogtreecommitdiffstats
path: root/drivers/hid/usbhid
diff options
context:
space:
mode:
authorJason Gerecke <killertofu@gmail.com>2014-09-23 20:09:28 +0200
committerJiri Kosina <jkosina@suse.cz>2014-10-29 10:59:06 +0100
commit5989a55a4c9aafba8b152c6bf52244510c2b88b9 (patch)
treefff5a63737ebe850d74b4febb05fc0ae91eb50d5 /drivers/hid/usbhid
parentHID: add keyboard input assist hid usages (diff)
downloadlinux-5989a55a4c9aafba8b152c6bf52244510c2b88b9.tar.xz
linux-5989a55a4c9aafba8b152c6bf52244510c2b88b9.zip
HID: input: Fix TransducerSerialNumber implementation
The commit which introduced TransducerSerialNumber (368c966) is missing two crucial implementation details. Firstly, the commit does not set the type/code/bit/max fields as expected later down the code which can cause the driver to crash when a tablet with this usage is connected. Secondly, the call to 'set_bit' causes MSC_PULSELED to be sent instead of the expected MSC_SERIAL. This commit addreses both issues. Signed-off-by: Jason Gerecke <jason.gerecke@wacom.com> Reviewed-by: Benjamin Tissoires <benjamin.tissoires@redhat.com> Reviewed-by: Ping Cheng <pingc@wacom.com> Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'drivers/hid/usbhid')
0 files changed, 0 insertions, 0 deletions