summaryrefslogtreecommitdiffstats
path: root/Documentation/hid
diff options
context:
space:
mode:
authorBenjamin Tissoires <bentiss@kernel.org>2024-03-15 15:44:39 +0100
committerBenjamin Tissoires <bentiss@kernel.org>2024-04-10 16:37:14 +0200
commit5599f80196612efde96dbe6ef18f6ecc0cb4ba19 (patch)
tree0176fb7c39f14a4f325742deec12adcbf4c38892 /Documentation/hid
parent4171954f56fb6da8cc8ceebf54b78b874278a198 (diff)
downloadlinux-stable-5599f80196612efde96dbe6ef18f6ecc0cb4ba19.tar.gz
linux-stable-5599f80196612efde96dbe6ef18f6ecc0cb4ba19.tar.bz2
linux-stable-5599f80196612efde96dbe6ef18f6ecc0cb4ba19.zip
HID: bpf: export hid_hw_output_report as a BPF kfunc
We currently only export hid_hw_raw_request() as a BPF kfunc. However, some devices require an explicit write on the Output Report instead of the use of the control channel. So also export hid_hw_output_report to BPF Link: https://lore.kernel.org/r/20240315-b4-hid-bpf-new-funcs-v4-2-079c282469d3@kernel.org Signed-off-by: Benjamin Tissoires <bentiss@kernel.org>
Diffstat (limited to 'Documentation/hid')
-rw-r--r--Documentation/hid/hid-bpf.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Documentation/hid/hid-bpf.rst b/Documentation/hid/hid-bpf.rst
index 4fad83a6ebc3..a575004d9025 100644
--- a/Documentation/hid/hid-bpf.rst
+++ b/Documentation/hid/hid-bpf.rst
@@ -179,7 +179,7 @@ Available API that can be used in syscall HID-BPF programs:
-----------------------------------------------------------
.. kernel-doc:: drivers/hid/bpf/hid_bpf_dispatch.c
- :functions: hid_bpf_attach_prog hid_bpf_hw_request hid_bpf_allocate_context hid_bpf_release_context
+ :functions: hid_bpf_attach_prog hid_bpf_hw_request hid_bpf_hw_output_report hid_bpf_allocate_context hid_bpf_release_context
General overview of a HID-BPF program
=====================================