usb: chipidea: udc: make use of new usb_endpoint_maxp_mult()
authorFelipe Balbi <felipe.balbi@linux.intel.com>
Wed, 28 Sep 2016 10:26:18 +0000 (13:26 +0300)
committerFelipe Balbi <felipe.balbi@linux.intel.com>
Thu, 3 Nov 2016 08:38:12 +0000 (10:38 +0200)
commita98e25e71d115702d79ef0f4f8009ce5d4cf37eb
treebfb4e66cb3296c303be75c3fa2e933689ff041f8
parent08295ee0e6976b060cd5c2a59877d8ea6379075c
usb: chipidea: udc: make use of new usb_endpoint_maxp_mult()

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

Acked-by: Peter Chen <Peter.Chen@nxp.com>
Cc: <linux-usb@vger.kernel.org>
Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
drivers/usb/chipidea/udc.c