aboutsummaryrefslogtreecommitdiffstats
path: root/lib/dynamic_debug.c
diff options
context:
space:
mode:
authorAndrew Duggan <[email protected]>2014-12-12 18:17:26 +0000
committerJiri Kosina <[email protected]>2014-12-17 08:13:13 +0000
commite39f2d5956999c05c85814787a113ffadbcd4b26 (patch)
tree55bf92a52e0b733a5c4ca7547e6b74b83de0083a /lib/dynamic_debug.c
parentMerge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jik... (diff)
downloadkernel-e39f2d5956999c05c85814787a113ffadbcd4b26.tar.gz
kernel-e39f2d5956999c05c85814787a113ffadbcd4b26.zip
HID: rmi: Scan the report descriptor to determine if the device is suitable for the hid-rmi driver
On composite HID devices there may be multiple HID devices on separate interfaces, but hid-rmi should only bind to the touchpad. The previous version simply checked that the interface protocol was set to mouse. Unfortuately, it is not always the case that the touchpad has the mouse interface protocol set. This patch takes a different approach and scans the report descriptor looking for the Generic Desktop Pointer usage and the Vendor Specific Top Level Collection needed by the hid-rmi driver to interface with the device. Signed-off-by: Andrew Duggan <[email protected]> Reviewed-by: Benjamin Tissoires <[email protected]> Signed-off-by: Jiri Kosina <[email protected]>
Diffstat (limited to 'lib/dynamic_debug.c')
0 files changed, 0 insertions, 0 deletions