commit | 2a72126de1bb08594246a96347f7527bbef7e2df | [log] [tgz] |
---|---|---|
author | Mathias Nyman <mathias.nyman@linux.intel.com> | Fri Nov 11 15:13:24 2016 +0200 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Mon Nov 14 10:18:22 2016 +0100 |
tree | 454ce4b89252494085afebec523d973b6c09bfc0 | |
parent | 0c03d89d0c71722dfc0c4a2a300bff37324541dc [diff] |
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>