Revert "HID: microsoft: Add ID's for Surface Type/Touch Cover 2"
authorDerya <derya.kiran@yahoo.de>
Mon, 31 Mar 2014 17:27:09 +0000 (13:27 -0400)
committerJiri Kosina <jkosina@suse.cz>
Mon, 7 Apr 2014 07:54:43 +0000 (09:54 +0200)
commitf3b0cbce01cd5c242b420d986b208d306bdc5083
tree193146c239b16b4d19552eaf95fad7ed3963a51f
parent30f58877bfdaa562d329ec870f948b4d03e1ab03
Revert "HID: microsoft: Add ID's for Surface Type/Touch Cover 2"

This reverts commit 117309c51dca42121f70cacec801511b76acf75c.

The MS Surface Pro 2 has an USB composite device with 3 interfaces
- interface 0 - sensor hub
- interface 1 - wacom digitizer
- interface 2 - the keyboard cover, if one is attached
This USB composite device changes it product id dependent on if and which
keyboard cover is attached. Adding the covers to hid_have_special_driver
prevents loading the right hid drivers for the other two interfaces, all 3
get loaded with hid-microsoft. We don't even need hid-microsoft for the
keyboards. We have to revert this to load the right hid modules for each
interface.

CC: stable@vger.kernel.org # kernel 3.14 only
Signed-off-by: Derya <derya.kiran@yahoo.de>
Signed-off-by: Benjamin Tissoires <benjamin.tissoires@redhat.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
drivers/hid/hid-core.c
drivers/hid/hid-ids.h
drivers/hid/hid-microsoft.c