Commit 65b258e9 authored by Alan Cox's avatar Alan Cox Committed by Jiri Kosina

HID: multitouch: put the case in the right switch statement

Signed-off-by: default avatarAlan Cox <alan@linux.intel.com>
Acked-by: default avatarBenjamin Tissoires <benjamin.tissoires@gmail.com>
Signed-off-by: default avatarJiri Kosina <jkosina@suse.cz>
parent 3ccc60f9
...@@ -421,11 +421,11 @@ static int mt_input_mapping(struct hid_device *hdev, struct hid_input *hi, ...@@ -421,11 +421,11 @@ static int mt_input_mapping(struct hid_device *hdev, struct hid_input *hi,
* contact max are global to the report */ * contact max are global to the report */
td->last_field_index = field->index; td->last_field_index = field->index;
return -1; return -1;
}
case HID_DG_TOUCH: case HID_DG_TOUCH:
/* Legacy devices use TIPSWITCH and not TOUCH. /* Legacy devices use TIPSWITCH and not TOUCH.
* Let's just ignore this field. */ * Let's just ignore this field. */
return -1; return -1;
}
/* let hid-input decide for the others */ /* let hid-input decide for the others */
return 0; return 0;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment