diff options
Diffstat (limited to 'drivers/hid')
-rw-r--r-- | drivers/hid/hid-multitouch.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/hid/hid-multitouch.c b/drivers/hid/hid-multitouch.c index 35b6025a064f..611c88cbc40e 100644 --- a/drivers/hid/hid-multitouch.c +++ b/drivers/hid/hid-multitouch.c | |||
@@ -741,7 +741,7 @@ static int mt_input_mapping(struct hid_device *hdev, struct hid_input *hi, | |||
741 | * such as Mouse that might have the same GenericDesktop usages. */ | 741 | * such as Mouse that might have the same GenericDesktop usages. */ |
742 | if (field->application != HID_DG_TOUCHSCREEN && | 742 | if (field->application != HID_DG_TOUCHSCREEN && |
743 | field->application != HID_DG_TOUCHPAD) | 743 | field->application != HID_DG_TOUCHPAD) |
744 | return 0; | 744 | return -1; |
745 | 745 | ||
746 | /* eGalax devices provide a Digitizer.Stylus input which overrides | 746 | /* eGalax devices provide a Digitizer.Stylus input which overrides |
747 | * the correct Digitizers.Finger X/Y ranges. | 747 | * the correct Digitizers.Finger X/Y ranges. |