commit | 2707ca16c2d400c8e2e619944470fb72ea96489f | [log] [tgz] |
---|---|---|
author | Johan Hovold <johan@kernel.org> | Fri Mar 17 11:35:40 2017 +0100 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Thu Mar 23 13:53:53 2017 +0100 |
tree | 9fcf1fbefc6b79aeb679fcacceecc55db29af7f9 | |
parent | 920df8d7facde29e4124cae95ebb8de1661e17e5 [diff] |
USB: ldusb: refactor endpoint retrieval Use the new endpoint helpers to lookup the required interrupt-in endpoint and optional interrupt-out endpoint. Note that the descriptors are searched in reverse order to avoid any regressions. Signed-off-by: Johan Hovold <johan@kernel.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>