usbdev: extend the usb req len to size_t

Some USB controllers can receive or send multiple data packets then
generate one interrupt. This mechanism can reduce the number of data
copies. Extend req buf to accommodate this.

Signed-off-by: yangsong8 <yangsong8@xiaomi.com>
This commit is contained in:
yangsong8
2024-07-10 20:28:10 +08:00
committed by Xiang Xiao
parent 75eea1b74e
commit 5a39e83c05
33 changed files with 83 additions and 79 deletions
+1 -1
View File
@@ -68,7 +68,7 @@
****************************************************************************/
FAR struct usbdev_req_s *usbdev_allocreq(FAR struct usbdev_ep_s *ep,
uint16_t len)
size_t len)
{
FAR struct usbdev_req_s *req;