This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Linux/AM3352: USB Gadget driver RX buffer size

Part Number: AM3352

Tool/software: Linux

I coding a usb gadget function driver for AM335X custom board,and use bulk in/out Transfer

The usb request buffer allocate kmalloc buffer size more then 2K Byte;

When the PC sends 828 byte data, The "usb request-> complete" function
gets the usb rx data length (req->actual) is “828”

But if the PC sent 829byte(more than 828), The "usb request-> complete" function
gets the usb rx data length (req->actual) is “0”

What is the problem?