]> git.ipfire.org Git - people/arne_f/kernel.git/commit
usb: ch9: make usb_endpoint_maxp() return only packet size
authorFelipe Balbi <felipe.balbi@linux.intel.com>
Wed, 28 Sep 2016 10:42:17 +0000 (13:42 +0300)
committerFelipe Balbi <felipe.balbi@linux.intel.com>
Thu, 3 Nov 2016 08:38:22 +0000 (10:38 +0200)
commitabb621844f6a0c93bbc934f9a096752c4c1c5722
tree3d5d18a148ac146778b7c0f45cdaee27d667bc32
parent6ddcabc2aa40ea3c45a4e2c00ae7ed1a1d990121
usb: ch9: make usb_endpoint_maxp() return only packet size

Now that we have a helper to gather periodic
endpoints' multiplier bits from wMaxPacketSize and
every driver is using it, we can safely make sure
that usb_endpoint_maxp() returns only bits 10:0 of
wMaxPacketSize which is where the actual packet size
lies.

Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
include/uapi/linux/usb/ch9.h