usb: gadget: udc: gr: make use of new usb_endpoint_maxp_mult()
authorFelipe Balbi <felipe.balbi@linux.intel.com>
Wed, 28 Sep 2016 10:36:58 +0000 (13:36 +0300)
committerFelipe Balbi <felipe.balbi@linux.intel.com>
Thu, 3 Nov 2016 08:38:19 +0000 (10:38 +0200)
commita0fefbde4680b64582ebb2ca1a3c175e6871f905
treeb3c61a8426c1ec1d111e8ed9a6750b52f18a8d58
parent2f237451a815775d8616fe5dca9272839357a86b
usb: gadget: udc: gr: 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/gr_udc.c