diff options
| author | William Wu <william.wu@rock-chips.com> | 2025-08-26 18:28:07 +0800 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2025-09-06 15:22:44 +0200 |
| commit | ed6f727c575b1eb8136e744acfd5e7306c9548f6 (patch) | |
| tree | 671aaee263845c69addbda4fae053c37b1e1ba2e /scripts/gdb/linux/pgtable.py | |
| parent | e271cc0d25015f4be6c88bd7731444644eb352c2 (diff) | |
usb: gadget: f_hid: Fix zero length packet transfer
Set the hid req->zero flag of ep0/in_ep to true by default,
then the UDC drivers can transfer a zero length packet at
the end if the hid transfer with size divisible to EPs max
packet size according to the USB 2.0 spec.
Signed-off-by: William Wu <william.wu@rock-chips.com>
Link: https://lore.kernel.org/r/1756204087-26111-1-git-send-email-william.wu@rock-chips.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'scripts/gdb/linux/pgtable.py')
0 files changed, 0 insertions, 0 deletions
