diff options
author | Benjamin Tissoires <benjamin.tissoires@redhat.com> | 2014-02-20 15:24:49 -0500 |
---|---|---|
committer | Jiri Kosina <jkosina@suse.cz> | 2014-02-24 11:23:15 -0500 |
commit | 3c86726cfe38952f0366f86acfbbb025813ec1c2 (patch) | |
tree | 74192839f11f698ee74ea55b4c17717e4c1bffba /Documentation/hid | |
parent | 2ebaebcf31096f83401c850393e93bc8f28db0e9 (diff) |
HID: make .raw_request mandatory
SET_REPORT and GET_REPORT are mandatory in the HID specification.
Make the corresponding API in hid-core mandatory too, which removes the
need to test against it in some various places.
Signed-off-by: Benjamin Tissoires <benjamin.tissoires@redhat.com>
Reviewed-by: David Herrmann <dh.herrmann@gmail.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'Documentation/hid')
-rw-r--r-- | Documentation/hid/hid-transport.txt | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Documentation/hid/hid-transport.txt b/Documentation/hid/hid-transport.txt index 9dbbceaef4f3..3dcba9fd4a3a 100644 --- a/Documentation/hid/hid-transport.txt +++ b/Documentation/hid/hid-transport.txt | |||
@@ -283,7 +283,8 @@ The available HID callbacks are: | |||
283 | int reqtype) | 283 | int reqtype) |
284 | Same as ->request() but provides the report as raw buffer. This request shall | 284 | Same as ->request() but provides the report as raw buffer. This request shall |
285 | be synchronous. A transport driver must not use ->wait() to complete such | 285 | be synchronous. A transport driver must not use ->wait() to complete such |
286 | requests. | 286 | requests. This request is mandatory and hid core will reject the device if |
287 | it is missing. | ||
287 | 288 | ||
288 | - int (*output_report) (struct hid_device *hdev, __u8 *buf, size_t len) | 289 | - int (*output_report) (struct hid_device *hdev, __u8 *buf, size_t len) |
289 | Send raw output report via intr channel. Used by some HID device drivers | 290 | Send raw output report via intr channel. Used by some HID device drivers |