Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 4cd59b62 authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "usb: gadget: ci13xxx: Update usb_eps' maxpacket_limit"

parents 78eea801 6c33feb8
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -3904,8 +3904,8 @@ static int udc_probe(struct ci13xxx_udc_driver *driver, struct device *dev,

			mEp->ep.name      = mEp->name;
			mEp->ep.ops       = &usb_ep_ops;
			mEp->ep.maxpacket =
				k ? USHRT_MAX : CTRL_PAYLOAD_MAX;
			usb_ep_set_maxpacket_limit(&mEp->ep,
				k ? USHRT_MAX : CTRL_PAYLOAD_MAX);

			INIT_LIST_HEAD(&mEp->qh.queue);
			mEp->qh.ptr = dma_pool_alloc(udc->qh_pool, GFP_KERNEL,