Files
ShengYi Hung 1c0f5142d9 hid: fix incorrect return value for hid
The return value of hid_keyboard_write is used to set the packet's actual_length
and pass to xhci directly to allow guest know how many byte actually processed.
Therefore, return 1 to indicate a successful transfer or it will be
considered as a wrong xfer.

Signed-off-by: ShengYi Hung <aokblast@FreeBSD.org>
Reviewed-by: Michael Tokarev <mjt@tls.msk.ru>
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
2025-10-05 09:46:06 +03:00
..
2019-06-12 13:20:21 +02:00
2025-10-05 09:46:06 +03:00
2024-10-01 14:41:10 +01:00
2024-10-01 14:41:10 +01:00
2025-04-25 17:00:41 +02:00