Commit d9f526b5 authored by Jason Gerecke's avatar Jason Gerecke Committed by Seth Forshee
Browse files

HID: wacom: Initialize hid_data.inputmode to -1

BugLink: http://bugs.launchpad.net/bugs/1603975



Commit 5ae6e89f introduced hid_data.inputmode with a comment that it
would have the value -1 if undefined, but then forgot to actually
perform the initialization. Although this doesn't appear to have
caused any problems in practice, it should still be remedied.

Signed-off-by: default avatarJason Gerecke <jason.gerecke@wacom.com>
Reviewed-by: default avatarBenjamin Tissoires <benjamin.tissoires@redhat.com>
Signed-off-by: default avatarJiri Kosina <jkosina@suse.cz>
(cherry picked from commit c6fa1aeb)
Signed-off-by: default avatarChris J Arges <chris.j.arges@canonical.com>
Acked-by: default avatarKamal Mostafa <kamal@canonical.com>
Signed-off-by: default avatarSeth Forshee <seth.forshee@canonical.com>
parent 19dccee1
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment