diff options
author | Alan Cox <alan@linux.intel.com> | 2012-10-25 15:35:25 +0100 |
---|---|---|
committer | Jiri Kosina <jkosina@suse.cz> | 2012-10-31 10:42:32 +0100 |
commit | 65b258e9b57980c8241342928d5cd717ee11a68b (patch) | |
tree | 662ef3ae9f9be710786979b73e2a8ef3ae7e4787 /drivers/hid/hid-multitouch.c | |
parent | 3ccc60f9d8c39180c205dba1a020735bda1b2491 (diff) | |
download | linux-65b258e9b57980c8241342928d5cd717ee11a68b.tar.gz linux-65b258e9b57980c8241342928d5cd717ee11a68b.tar.bz2 linux-65b258e9b57980c8241342928d5cd717ee11a68b.zip |
HID: multitouch: put the case in the right switch statement
Signed-off-by: Alan Cox <alan@linux.intel.com>
Acked-by: Benjamin Tissoires <benjamin.tissoires@gmail.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'drivers/hid/hid-multitouch.c')
-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 3eb02b94fc87..c97011cdf852 100644 --- a/drivers/hid/hid-multitouch.c +++ b/drivers/hid/hid-multitouch.c @@ -421,11 +421,11 @@ static int mt_input_mapping(struct hid_device *hdev, struct hid_input *hi, * contact max are global to the report */ td->last_field_index = field->index; return -1; - } case HID_DG_TOUCH: /* Legacy devices use TIPSWITCH and not TOUCH. * Let's just ignore this field. */ return -1; + } /* let hid-input decide for the others */ return 0; |