diff options
author | Alan Cox <alan@linux.intel.com> | 2012-10-25 10:35:25 -0400 |
---|---|---|
committer | Jiri Kosina <jkosina@suse.cz> | 2012-10-31 05:42:32 -0400 |
commit | 65b258e9b57980c8241342928d5cd717ee11a68b (patch) | |
tree | 662ef3ae9f9be710786979b73e2a8ef3ae7e4787 /drivers/hid | |
parent | 3ccc60f9d8c39180c205dba1a020735bda1b2491 (diff) |
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')
-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, | |||
421 | * contact max are global to the report */ | 421 | * contact max are global to the report */ |
422 | td->last_field_index = field->index; | 422 | td->last_field_index = field->index; |
423 | return -1; | 423 | return -1; |
424 | } | ||
425 | case HID_DG_TOUCH: | 424 | case HID_DG_TOUCH: |
426 | /* Legacy devices use TIPSWITCH and not TOUCH. | 425 | /* Legacy devices use TIPSWITCH and not TOUCH. |
427 | * Let's just ignore this field. */ | 426 | * Let's just ignore this field. */ |
428 | return -1; | 427 | return -1; |
428 | } | ||
429 | /* let hid-input decide for the others */ | 429 | /* let hid-input decide for the others */ |
430 | return 0; | 430 | return 0; |
431 | 431 | ||