]> git.baikalelectronics.ru Git - 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)
commit389c75018d90bcc8988dde384dc0839efbcd19ba
tree3d5d18a148ac146778b7c0f45cdaee27d667bc32
parent90357319ace3e3524b2909169cb33ace4415abe4
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