usb: gadget: udc: dummy: make use of new usb_endpoint_maxp_mult()
authorFelipe Balbi <felipe.balbi@linux.intel.com>
Wed, 28 Sep 2016 10:30:59 +0000 (13:30 +0300)
committerFelipe Balbi <felipe.balbi@linux.intel.com>
Thu, 3 Nov 2016 08:38:18 +0000 (10:38 +0200)
commitee8ac85596ec0b45c7dd49e2a2a0af50f98542cd
tree0a7f52a8d47debc10dc8fabf8579abc3fe137599
parent1f5bba7381c58670dbb1b50885b45c2660e12eb5
usb: gadget: udc: dummy: make use of new usb_endpoint_maxp_mult()

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

Cc: Alan Stern <stern@rowland.harvard.edu>
Cc: <linux-usb@vger.kernel.org>
Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
drivers/usb/gadget/udc/dummy_hcd.c