usb: dwc2: gadget: Update for new usb_endpoint_maxp()
authorVardan Mikayelyan <mvardan@synopsys.com>
Tue, 8 Nov 2016 18:57:00 +0000 (10:57 -0800)
committerFelipe Balbi <felipe.balbi@linux.intel.com>
Fri, 18 Nov 2016 11:54:15 +0000 (13:54 +0200)
commitee2c40de6415f7866ca35fcb2f1af52c7a22cfd1
treed34af9e57222c0b8463ab275ae2f18c9b211652a
parentf2694a93e0df86e89a2d1743d413bf1bf5d2da50
usb: dwc2: gadget: Update for new usb_endpoint_maxp()

Update the dwc2 driver for the new behavior of the usb_endpoint_maxp()
and also use the new usb_endpoint_maxp_mult() helper function.

This commit fixes failures in high-badwith ISOC transfer tests.

Signed-off-by: Vardan Mikayelyan <mvardan@synopsys.com>
Signed-off-by: John Youn <johnyoun@synopsys.com>
Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
drivers/usb/dwc2/gadget.c