Hi, Peter Chen <peter.chen@xxxxxxx> writes: > @@ -1168,9 +1169,19 @@ static int cdns3_ep_run_transfer(struct cdns3_endpoint *priv_ep, > > /* set incorrect Cycle Bit for first trb*/ > control = priv_ep->pcs ? 0 : TRB_CYCLE; > + trb->length = 0; > + if (priv_dev->dev_ver >= DEV_VER_V2) { > + td_size = DIV_ROUND_UP(request->length, > + priv_ep->endpoint.maxpacket); spaces for indentation? -- balbi
Attachment:
signature.asc
Description: PGP signature