aboutsummaryrefslogtreecommitdiffstats
path: root/lib/dynamic_debug.c
diff options
context:
space:
mode:
authorDavid Herrmann <[email protected]>2014-07-29 15:14:25 +0000
committerJiri Kosina <[email protected]>2014-08-25 08:28:08 +0000
commitc2b2f16c5c62583d4f8904e44c4b30c94a01eaf1 (patch)
tree72ff984b458a6ff721a67a062fc11fe6c9548a26 /lib/dynamic_debug.c
parentHID: uhid: implement SET_REPORT (diff)
downloadkernel-c2b2f16c5c62583d4f8904e44c4b30c94a01eaf1.tar.gz
kernel-c2b2f16c5c62583d4f8904e44c4b30c94a01eaf1.zip
HID: uhid: report to user-space whether reports are numbered
This makes UHID_START include a "dev_flags" field that describes details of the hid-device in the kernel. The first flags we introduce describe whether a given report-type uses numbered reports. This is useful for transport layers that force report-numbers and therefore might have to prefix kernel-provided HID-messages with the report-number. Currently, only HoG needs this and the spec only talks about "global report numbers". That is, it's a global boolean not a per-type boolean. However, given the quirks we already have in kernel-space, a per-type value seems much more appropriate. Signed-off-by: David Herrmann <[email protected]> Signed-off-by: Jiri Kosina <[email protected]>
Diffstat (limited to 'lib/dynamic_debug.c')
0 files changed, 0 insertions, 0 deletions