summaryrefslogtreecommitdiff
path: root/include/media
diff options
context:
space:
mode:
authorSarah Sharp <sarah.a.sharp@linux.intel.com>2012-05-08 14:44:01 (GMT)
committerSarah Sharp <sarah.a.sharp@linux.intel.com>2012-05-18 22:42:02 (GMT)
commit6538eafc7cb6b2d718d2539bef3158bfaad57468 (patch)
tree44981a2e18be90cf52ebe3f4ee1a2c98f060c3eb /include/media
parentdbc33303e457bc9d9179d628951e6b7c7a3f6056 (diff)
downloadlinux-6538eafc7cb6b2d718d2539bef3158bfaad57468.tar.xz
USB: Add macros for interrupt endpoint types.
The USB 3.0 spec defines a new way of differentiating interrupt endpoints. The idea is that some interrupt endpoints are used for notifications, i.e. they continually NAK the transfer until something changes on the device. Other interrupt endpoints are used as a way to periodically transfer data. The USB 3.0 endpoint descriptor uses bits 5:4 of bmAttributes for interrupt endpoints, to define the endpoint as either a Notification endpoint, or a Periodic endpoint. Introduce macros to dig out that information. Signed-off-by: Sarah Sharp <sarah.a.sharp@linux.intel.com>
Diffstat (limited to 'include/media')
0 files changed, 0 insertions, 0 deletions