usb: musb: make use of new usb_endpoint_maxp_mult()
authorFelipe Balbi <felipe.balbi@linux.intel.com>
Wed, 28 Sep 2016 10:40:40 +0000 (13:40 +0300)
committerFelipe Balbi <felipe.balbi@linux.intel.com>
Thu, 3 Nov 2016 08:38:21 +0000 (10:38 +0200)
commit6ddcabc2aa40ea3c45a4e2c00ae7ed1a1d990121
treeff7369adfc7f68883a6d76a527e232644c44dac3
parent131e19b9e3a5a463ab790db737c72040a918967c
usb: musb: make use of new usb_endpoint_maxp_mult()

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

Cc: Bin Liu <b-liu@ti.com>
Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
drivers/usb/musb/musb_gadget.c
drivers/usb/musb/musb_host.c