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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 31 May 2014 20:20:29 +0000 (13:20 -0700)
commit346f2b1eae0cf0d0d34458d26a9f32df46e8641a
tree6ae155c4cdd4fb4c65965ad04bac30f2fc4ef427
parentf45babbd21f7e603acdcd620afa77571fbb283d5
Revert "HID: microsoft: Add ID's for Surface Type/Touch Cover 2"

commit f3b0cbce01cd5c242b420d986b208d306bdc5083 upstream.

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.

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/hid/hid-core.c
drivers/hid/hid-ids.h
drivers/hid/hid-microsoft.c