Skip to content

Commit 65b258e

Browse files
Alan CoxJiri Kosina
authored andcommitted
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>
1 parent 3ccc60f commit 65b258e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/hid/hid-multitouch.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -421,11 +421,11 @@ static int mt_input_mapping(struct hid_device *hdev, struct hid_input *hi,
421421
* contact max are global to the report */
422422
td->last_field_index = field->index;
423423
return -1;
424-
}
425424
case HID_DG_TOUCH:
426425
/* Legacy devices use TIPSWITCH and not TOUCH.
427426
* Let's just ignore this field. */
428427
return -1;
428+
}
429429
/* let hid-input decide for the others */
430430
return 0;
431431

0 commit comments

Comments
 (0)