Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

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

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

parent 3ccc60f9
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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;