xhci: Add stream id to xhci_dequeue_state structure
authorMathias Nyman <mathias.nyman@linux.intel.com>
Fri, 2 Jun 2017 13:36:23 +0000 (16:36 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 3 Jun 2017 09:02:58 +0000 (18:02 +0900)
commit8790736dbf2676ea398d8de952c791009290e3cc
tree2b1cc3cfa14803f9ac6811dd1b5f37aaf92835e8
parentcdd504e11391f0811a681d6efc680ca1e1c8ffac
xhci: Add stream id to xhci_dequeue_state structure

The values for the new dequeue segment, new dequeue pointer and new cycle
state are needed for manually moving the xHC ring dequeue pointer.
These are conveniently stored in a xhci_dequeue_state structure.

stream support was added later and stream_id was carried
as a function parameter.

Move the stream_id to the xhci_dequeue_state structure instead.

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