aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/hid
diff options
context:
space:
mode:
authorAlan Cox <alan@linux.intel.com>2012-10-25 15:35:25 +0100
committerJiri Kosina <jkosina@suse.cz>2012-10-31 10:42:32 +0100
commit65b258e9b57980c8241342928d5cd717ee11a68b (patch)
tree662ef3ae9f9be710786979b73e2a8ef3ae7e4787 /drivers/hid
parent3ccc60f9d8c39180c205dba1a020735bda1b2491 (diff)
downloadkernel_goldelico_gta04-65b258e9b57980c8241342928d5cd717ee11a68b.zip
kernel_goldelico_gta04-65b258e9b57980c8241342928d5cd717ee11a68b.tar.gz
kernel_goldelico_gta04-65b258e9b57980c8241342928d5cd717ee11a68b.tar.bz2
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.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/hid/hid-multitouch.c b/drivers/hid/hid-multitouch.c
index 3eb02b9..c97011c 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;