diff options
author | Mathias Nyman <mathias.nyman@linux.intel.com> | 2021-01-29 14:00:35 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2021-01-29 14:16:51 +0100 |
commit | a6ccd1fd4bd4fca37eaa3d76bef940d6332919bc (patch) | |
tree | ab35c8eece2d90d7393cd34c2a593dcf0c0f2b17 /drivers/usb/host/xhci.h | |
parent | xhci: use xhci_td_cleanup() helper when giving back cancelled URBs (diff) | |
download | linux-a6ccd1fd4bd4fca37eaa3d76bef940d6332919bc.tar.xz linux-a6ccd1fd4bd4fca37eaa3d76bef940d6332919bc.zip |
xhci: store TD status in the td struct instead of passing it along
In cases where the TD can't be given back in current handler we want
to be able to store it until its time to return the TD.
Signed-off-by: Mathias Nyman <mathias.nyman@linux.intel.com>
Link: https://lore.kernel.org/r/20210129130044.206855-19-mathias.nyman@linux.intel.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/usb/host/xhci.h')
-rw-r--r-- | drivers/usb/host/xhci.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/usb/host/xhci.h b/drivers/usb/host/xhci.h index 87af91447985..fe0bf77e8cd8 100644 --- a/drivers/usb/host/xhci.h +++ b/drivers/usb/host/xhci.h @@ -1542,6 +1542,7 @@ struct xhci_segment { struct xhci_td { struct list_head td_list; struct list_head cancelled_td_list; + int status; struct urb *urb; struct xhci_segment *start_seg; union xhci_trb *first_trb; |