usb: gadget: udc: bdc: make use of new usb_endpoint_maxp_mult()
authorFelipe Balbi <felipe.balbi@linux.intel.com>
Wed, 28 Sep 2016 10:29:39 +0000 (13:29 +0300)
committerFelipe Balbi <felipe.balbi@linux.intel.com>
Thu, 3 Nov 2016 08:38:18 +0000 (10:38 +0200)
commit1f5bba7381c58670dbb1b50885b45c2660e12eb5
tree1fec1218df083b8db7e6e22115190f7c4785b726
parentf0419d9fdf402b4ac07db974df9f3cd3f5de2cdd
usb: gadget: udc: bdc: make use of new usb_endpoint_maxp_mult()

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

Cc: Ashwini Pahuja <ashwini.linux@gmail.com>
Cc: <linux-usb@vger.kernel.org>
Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
drivers/usb/gadget/udc/bdc/bdc_cmd.c