From: Andrew Duggan Date: Fri, 19 Dec 2014 22:45:41 +0000 (-0800) Subject: HID: rmi: Support non rmi devices by passing events to hid-input X-Git-Tag: fixes-v4.0-rc1~153^2^6~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2f43de605e700f5aa5cad15e19f8ffe54b1d4c86;p=pandora-kernel.git HID: rmi: Support non rmi devices by passing events to hid-input Allowing hid-rmi to bind to non rmi devices allows us to support composite USB devices which contain several HID devices one of which is a HID touchpad. Since all of the devices have the same VID and PID we can add the device to the hid_have_special_driver list and have hid-rmi handle all of the devices. Then hid-rmi's probe can look for the rmi specific HID report IDs and decide if it should handle the device as a rmi device or simply report that the events needs additional processing. Signed-off-by: Andrew Duggan Reviewed-by: Benjamin Tissoires Signed-off-by: Jiri Kosina --- Reading git-diff-tree failed