From 6811847e60b1100d7439de0a36081d8b7251c1a8 Mon Sep 17 00:00:00 2001 From: Forest Bond Date: Tue, 13 Jul 2010 23:50:57 +0200 Subject: [PATCH] --- yaml --- r: 204376 b: refs/heads/master c: 8c8b01c38a70661d663175d355fdea85ca082272 h: refs/heads/master v: v3 --- [refs] | 2 +- trunk/drivers/hid/hid-input.c | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/[refs] b/[refs] index 28303d2c4c96..aaf8221d3145 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: a11b3fab94d4fb67297b76d0cb81612ebbff276e +refs/heads/master: 8c8b01c38a70661d663175d355fdea85ca082272 diff --git a/trunk/drivers/hid/hid-input.c b/trunk/drivers/hid/hid-input.c index 7a0d2e4661a1..6b10e5afe770 100644 --- a/trunk/drivers/hid/hid-input.c +++ b/trunk/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;