usb: host: ehci: make use of new usb_endpoint_maxp_mult()
commite3b89080f2c50936a9f6eccedb1e07e293777f0a
authorFelipe Balbi <felipe.balbi@linux.intel.com>
Wed, 28 Sep 2016 10:38:18 +0000 (28 13:38 +0300)
committerFelipe Balbi <felipe.balbi@linux.intel.com>
Thu, 3 Nov 2016 08:38:20 +0000 (3 10:38 +0200)
tree6721636ad46a808c05606981d9ccc21590c5f2ea
parentdf4769e37a1f4244a997904ccdedb8eef85437ad
usb: host: ehci: 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/host/ehci-q.c
drivers/usb/host/ehci-sched.c