commit | 9b181166f17534a82b4b628b13e524a893715dfc | [log] [tgz] |
---|---|---|
author | Johan Hovold <johan@kernel.org> | Fri Mar 17 11:35:41 2017 +0100 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Thu Mar 23 13:53:53 2017 +0100 |
tree | a595294b1ca4cd3f0fc5f3326db1146e41565cde | |
parent | 2707ca16c2d400c8e2e619944470fb72ea96489f [diff] |
USB: legousbtower: refactor endpoint retrieval Use the new endpoint helpers to lookup the required interrupt-in and interrupt-out endpoints. Note that the descriptors are searched in reverse order to avoid any regressions. Cc: Juergen Stuber <starblue@users.sourceforge.net> Cc: legousb-devel@lists.sourceforge.net Signed-off-by: Johan Hovold <johan@kernel.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>