commit | 920df8d7facde29e4124cae95ebb8de1661e17e5 | [log] [tgz] |
---|---|---|
author | Johan Hovold <johan@kernel.org> | Fri Mar 17 11:35:39 2017 +0100 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Thu Mar 23 13:53:52 2017 +0100 |
tree | 1921f1b90d6a08ce083f48c6482743c92f3d7728 | |
parent | fa38442eaac1f5a3ba883c91bdc772e77d35bf27 [diff] |
USB: iowarrior: refactor endpoint retrieval Use the new endpoint helpers to lookup the required interrupt-in endpoint. IOWarror56 devices also requires an interrupt-out endpoint, which is looked up in a second call. 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>