diff options
author | Ping Cheng <pinglinux@gmail.com> | 2013-11-25 18:43:45 -0800 |
---|---|---|
committer | Jiri Slaby <jslaby@suse.cz> | 2014-03-31 14:22:34 +0200 |
commit | 16cf0c328d308b4bfb2baf0257bfdff47899a6ca (patch) | |
tree | 9881b2c88b11b9a90c039ed54fa792fafce217cd /lib/net_utils.c | |
parent | 5b6325c676690b26685c55998c49cea0a437fd24 (diff) |
Input: wacom - make sure touch_max is set for touch devices
commit 1d0d6df02750b4a6f466768cbfbf860e24f4c8d4 upstream.
Old single touch Tablet PCs do not have touch_max set at
wacom_features. Since touch device at lease supports one
finger, assign touch_max to 1 when touch usage is defined
in its HID Descriptor and touch_max is not pre-defined.
Tested-by: Jason Gerecke <killertofu@gmail.com>
Signed-off-by: Ping Cheng <pingc@wacom.com>
Reviewed-by: Chris Bagwell <chris@cnpbagwell.com>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Cc: Josh Boyer <jwboyer@fedoraproject.org>
Signed-off-by: Jiri Slaby <jslaby@suse.cz>
Diffstat (limited to 'lib/net_utils.c')
0 files changed, 0 insertions, 0 deletions