Peter Chen <peter.chen@xxxxxxx> writes: > It only dumps the first TRB per request, it is not useful if only dump > the first TRB when there are several TRBs per request. We improve it by > dumpping all TRBs per request in this commit. > > Signed-off-by: Peter Chen <peter.chen@xxxxxxx> > --- > drivers/usb/cdns3/gadget.c | 20 +++++++++++++++++--- > 1 file changed, 17 insertions(+), 3 deletions(-) > > diff --git a/drivers/usb/cdns3/gadget.c b/drivers/usb/cdns3/gadget.c > index 50282cab5fb6..f68c30b808dc 100644 > --- a/drivers/usb/cdns3/gadget.c > +++ b/drivers/usb/cdns3/gadget.c > @@ -1089,7 +1089,7 @@ static int cdns3_ep_run_transfer(struct cdns3_endpoint *priv_ep, > { > struct cdns3_device *priv_dev = priv_ep->cdns3_dev; > struct cdns3_request *priv_req; > - struct cdns3_trb *trb; > + struct cdns3_trb *trb, *link_trb; one declaration per line -- balbi
Attachment:
signature.asc
Description: PGP signature