aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/hid/hid-input.c
diff options
context:
space:
mode:
authorJiri Kosina <jkosina@suse.cz>2010-08-04 15:26:15 +0200
committerJiri Kosina <jkosina@suse.cz>2010-08-04 15:26:15 +0200
commitfc73697bd5bf4efe8b5b2b78ec09e00f967cd055 (patch)
tree326d5f84b13938a12fb27468ef73db4faf43a44e /drivers/hid/hid-input.c
parentLinux 2.6.35-rc5 (diff)
parentHID: ignore digitizer usage Undefined (0x00) (diff)
downloadlinux-dev-fc73697bd5bf4efe8b5b2b78ec09e00f967cd055.tar.xz
linux-dev-fc73697bd5bf4efe8b5b2b78ec09e00f967cd055.zip
Merge branch 'upstream' into for-linus
Conflicts: drivers/hid/hid-ids.h
Diffstat (limited to 'drivers/hid/hid-input.c')
-rw-r--r--drivers/hid/hid-input.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/hid/hid-input.c b/drivers/hid/hid-input.c
index 7a0d2e4661a1..6b10e5afe770 100644
--- a/drivers/hid/hid-input.c
+++ b/drivers/hid/hid-input.c
@@ -301,6 +301,9 @@ static void hidinput_configure_usage(struct hid_input *hidinput, struct hid_fiel
case HID_UP_DIGITIZER:
switch (usage->hid & 0xff) {
+ case 0x00: /* Undefined */
+ goto ignore;
+
case 0x30: /* TipPressure */
if (!test_bit(BTN_TOUCH, input->keybit)) {
device->quirks |= HID_QUIRK_NOTOUCH;