From: David Herrmann Date: Tue, 29 Jul 2014 15:14:25 +0000 (+0200) Subject: HID: uhid: report to user-space whether reports are numbered X-Git-Tag: fixes-for-v3.18-merge-window~27^2^7~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c2b2f16c5c62583d4f8904e44c4b30c94a01eaf1;p=pandora-kernel.git 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 Signed-off-by: Jiri Kosina --- Reading git-diff-tree failed