]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
xhci: Remove duplicate xhci urb giveback functions
authorMathias Nyman <mathias.nyman@linux.intel.com>
Fri, 11 Nov 2016 13:13:24 +0000 (15:13 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 14 Nov 2016 09:18:22 +0000 (10:18 +0100)
commit2a72126de1bb08594246a96347f7527bbef7e2df
tree454ce4b89252494085afebec523d973b6c09bfc0
parent0c03d89d0c71722dfc0c4a2a300bff37324541dc
xhci: Remove duplicate xhci urb giveback functions

We want one function that gives back urb in interrupt that can
be used in both normal cases and when killing off urbs.

Add small helpers that check if td is last_td_in_urb() and
that increase the td count of a urb inc_td_cnt()

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