patch "usb: gadget: udc: fsl: make use of new usb_endpoint_maxp_mult()" added to usb-next
Subsystems (2)
This is a note to let you know that I've just added the patch titled
usb: gadget: udc: fsl: make use of new usb_endpoint_maxp_mult()
to my usb git tree which can be found at
git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git
in the usb-next branch.
The patch will show up in the next release of the linux-next tree (usually sometime within the next 24 hours during the week.)
The patch will also be merged in the next major kernel release during the merge window.
If you have any questions about this process, please let me know.
Quoted 1 line
From
4250914d3a298aea7a6e940180d225b64e95a6e3Mon Sep 17 00:00:00 2001
From: Felipe Balbi <[email protected]>
Date: Wed, 28 Sep 2016 13:33:23 +0300
Subject: usb: gadget: udc: fsl: make use of new usb_endpoint_maxp_mult()
We have introduced a helper to calculate multiplier value from wMaxPacketSize. Start using it.
--- drivers/usb/gadget/udc/fsl_udc_core.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/usb/gadget/udc/fsl_udc_core.c +1 -1
@@ -585,7 +585,7 @@ static int fsl_ep_enable(struct usb_ep *_ep,break ;case USB_ENDPOINT_XFER_ISOC :/* Calculate transactions needed for high bandwidth iso */ - mult = (unsigned char )(1 + ((max >>11 ) &0x03 )); + mult =usb_endpoint_maxp_mult (desc); max = max &0x7ff ;/* bit 0~10 */ /* 3 transactions at most */ if (mult >3 )
Signature · 1 line
2.10.2