usb: gadget: add "maxpacket_limit" field to struct usb_ep
[deliverable/linux.git] / drivers / usb / gadget / fsl_qe_udc.c
index 6315ee698d4dbc9cb17d0a64c5fd064446ded22c..f60d4da8f2c07077d8a41a63960cad01da746d62 100644 (file)
@@ -2429,7 +2429,7 @@ static int qe_ep_config(struct qe_udc *udc, unsigned char pipe_num)
 
        ep->ep.ops = &qe_ep_ops;
        ep->stopped = 1;
-       ep->ep.maxpacket = (unsigned short) ~0;
+       usb_ep_set_maxpacket_limit(&ep->ep, (unsigned short) ~0);
        ep->ep.desc = NULL;
        ep->dir = 0xff;
        ep->epnum = (u8)pipe_num;
This page took 0.0241209999999999 seconds and 5 git commands to generate.