]> git.karo-electronics.de Git - linux-beck.git/commit
xhci: add helper to get the endpoint state of a endpoint context
authorMathias Nyman <mathias.nyman@linux.intel.com>
Fri, 11 Nov 2016 13:13:28 +0000 (15:13 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 14 Nov 2016 09:18:22 +0000 (10:18 +0100)
commit5071e6b279178f7d25e1aebd23f49f686657a5fb
tree52da956ffaf401fb9877f32c9e050e7e7002916b
parent3f1dae6b19c9b4ba51ad016e30ec17399819bb6d
xhci: add helper to get the endpoint state of a endpoint context

define GET_EP_CTX_STATE() macro to get the endpoint state from a
pointer to a le32 enpoint context structure

No functional changes

Signed-off-by: Mathias Nyman <mathias.nyman@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/host/xhci-ring.c
drivers/usb/host/xhci.c
drivers/usb/host/xhci.h