diff options
author | Johan Hovold <johan@kernel.org> | 2017-03-17 11:35:39 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-03-23 13:53:52 +0100 |
commit | 920df8d7facde29e4124cae95ebb8de1661e17e5 (patch) | |
tree | 1921f1b90d6a08ce083f48c6482743c92f3d7728 /drivers/usb/misc/ldusb.c | |
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>
Diffstat (limited to 'drivers/usb/misc/ldusb.c')
0 files changed, 0 insertions, 0 deletions