From: Alan Cox Date: Thu, 25 Oct 2012 14:35:25 +0000 (+0100) Subject: HID: multitouch: put the case in the right switch statement X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=65b258e9b57980c8241342928d5cd717ee11a68b;p=GitHub%2Fexynos8895%2Fandroid_kernel_samsung_universal8895.git HID: multitouch: put the case in the right switch statement Signed-off-by: Alan Cox Acked-by: Benjamin Tissoires Signed-off-by: Jiri Kosina --- 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;