xhci: Add helper to get hardware dequeue pointer for stopped rings.
commite6b20121c6d5d17d38ea93d1ec550713142e54c2
authorMathias Nyman <mathias.nyman@linux.intel.com>
Fri, 2 Jun 2017 13:36:22 +0000 (2 16:36 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 3 Jun 2017 09:02:58 +0000 (3 18:02 +0900)
treea7f266eda663624de736fb6c4b81a06136b1ec04
parent8790736dbf2676ea398d8de952c791009290e3cc
xhci: Add helper to get hardware dequeue pointer for stopped rings.

Add xhci_get_hw_deq() helper to retrieve the hardware dequeue pointer an
endpoint or stream stopped on.

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