1
0
Fork 0

MLK-24283-3 usb: cdns3: gadget: the TD_SIZE entry is 16 bit at TRB

The TD_SIZE entry is 16 bit at TRB for HS/FS, it fixed the issue
if the request length is 16384 bytes for FS transfer, at this case,
the TD_SIZE is 0 at current code.

Reviewed-by: Jun Li <jun.li@nxp.com>
Signed-off-by: Peter Chen <peter.chen@nxp.com>
5.4-rM2-2.2.x-imx-squashed
Peter Chen 2020-05-26 15:01:55 +08:00
parent aa917820d3
commit 07408c690b
No known key found for this signature in database
GPG Key ID: 4859298150D671BB
1 changed files with 1 additions and 1 deletions

View File

@ -613,7 +613,7 @@ int cdns3_ep_run_transfer(struct cdns3_endpoint *priv_ep,
u32 control;
int pcs;
struct scatterlist *s = NULL;
u8 td_size;
u16 td_size;
if (priv_ep->type == USB_ENDPOINT_XFER_ISOC)
num_trb = priv_ep->interval;