commit | 2d98ef406f17ec3cfc196dc65c0e53d7fab8671b | [log] [tgz] |
---|---|---|
author | Mathias Nyman <mathias.nyman@linux.intel.com> | Tue Jun 21 10:58:04 2016 +0300 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Sun Jun 26 11:43:39 2016 -0700 |
tree | 01c790f657e057f54cc8bd6a72df08ae8c01dffa | |
parent | 2251198bef4252c9b64fadd271f03da46cf802e8 [diff] |
xhci: use and add separate function for checking for link trbs Add a new is_link_trb() function that only checks for link trbs. We want to split generic last_trb() function which is used for both event rings without link trbs, and endpoint and command rings with links. This will allow us to easier check for link trbs added mid segments. Signed-off-by: Mathias Nyman <mathias.nyman@linux.intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>