usb: gadget: udc: mv_udc: make use of new usb_endpoint_maxp_mult()
authorFelipe Balbi <felipe.balbi@linux.intel.com>
Wed, 28 Sep 2016 10:37:46 +0000 (13:37 +0300)
committerFelipe Balbi <felipe.balbi@linux.intel.com>
Thu, 3 Nov 2016 08:38:20 +0000 (10:38 +0200)
commitdf4769e37a1f4244a997904ccdedb8eef85437ad
tree774f3c28c5693218f6e0e785819d0b45d09bbcc0
parenta0fefbde4680b64582ebb2ca1a3c175e6871f905
usb: gadget: udc: mv_udc: make use of new usb_endpoint_maxp_mult()

We have introduced a helper to calculate multiplier
value from wMaxPacketSize. Start using it.

Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
drivers/usb/gadget/udc/mv_udc_core.c