2018-12-13 01:30:29

by Peter Hutterer

[permalink] [raw]
Subject: [PATCH] Documentation: hid: fix wrong data structure reference for UHID_OUTPUT

Signed-off-by: Peter Hutterer <[email protected]>
---
Documentation/hid/uhid.txt | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Documentation/hid/uhid.txt b/Documentation/hid/uhid.txt
index c8656dd029a9..958fff945304 100644
--- a/Documentation/hid/uhid.txt
+++ b/Documentation/hid/uhid.txt
@@ -160,7 +160,7 @@ them but you should handle them according to your needs.
UHID_OUTPUT:
This is sent if the HID device driver wants to send raw data to the I/O
device on the interrupt channel. You should read the payload and forward it to
- the device. The payload is of type "struct uhid_data_req".
+ the device. The payload is of type "struct uhid_output_req".
This may be received even though you haven't received UHID_OPEN, yet.

UHID_GET_REPORT:
--
2.19.2



2018-12-18 13:57:57

by Jiri Kosina

[permalink] [raw]
Subject: Re: [PATCH] Documentation: hid: fix wrong data structure reference for UHID_OUTPUT

On Thu, 13 Dec 2018, Peter Hutterer wrote:

> Signed-off-by: Peter Hutterer <[email protected]>
> ---
> Documentation/hid/uhid.txt | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/Documentation/hid/uhid.txt b/Documentation/hid/uhid.txt
> index c8656dd029a9..958fff945304 100644
> --- a/Documentation/hid/uhid.txt
> +++ b/Documentation/hid/uhid.txt
> @@ -160,7 +160,7 @@ them but you should handle them according to your needs.
> UHID_OUTPUT:
> This is sent if the HID device driver wants to send raw data to the I/O
> device on the interrupt channel. You should read the payload and forward it to
> - the device. The payload is of type "struct uhid_data_req".
> + the device. The payload is of type "struct uhid_output_req".
> This may be received even though you haven't received UHID_OPEN, yet.

Applied, thanks Peter.

--
Jiri Kosina
SUSE Labs