mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-07 19:30:30 +09:00
usb: dwc3: gadget: increase intr ep resize tx fifo to 64B
For RV1109/RV1126 platforms, it resizes the tx fifos for all of the usb device endpoints by default, it aims to support UVC composite device, so just only set 16 bytes for the tx fifo of the intr endpoints. But for the other USB functions, like MTP function, it requires 64 bytes tx fifo for its intr endpoint. Signed-off-by: William Wu <william.wu@rock-chips.com> Change-Id: I27634dab473dad9a3e3d500cde7156c3eda514e8
This commit is contained in:
@@ -268,10 +268,10 @@ static int dwc3_gadget_resize_tx_fifos(struct dwc3 *dwc)
|
||||
|
||||
/*
|
||||
* REVIST: we assume that the maxpacket of interrupt
|
||||
* endpoint is 16 Bytes.
|
||||
* endpoint is 64 Bytes for MTP and the other functions.
|
||||
*/
|
||||
mult = 1;
|
||||
maxpacket = 16;
|
||||
maxpacket = 64;
|
||||
break;
|
||||
default:
|
||||
/*
|
||||
|
||||
Reference in New Issue
Block a user