summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorJason Gerecke <killertofu@gmail.com>2014-09-23 11:09:28 -0700
committerLuis Henriques <luis.henriques@canonical.com>2014-11-17 14:11:54 +0000
commitb0bb0aa3f5f6a688ddfce4c7a31a7c9710fe738c (patch)
tree98e176a8f5d225361785371f9a6eea75cf873a00 /include
parent1cf39b5f88166c08b9bf9917b16c598fe9e68ab7 (diff)
HID: input: Fix TransducerSerialNumber implementation
commit 5989a55a4c9aafba8b152c6bf52244510c2b88b9 upstream. 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> Signed-off-by: Luis Henriques <luis.henriques@canonical.com>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions