commit | f8d8464bfc90e058fe68dee02121d46f661f68cd | [log] [tgz] |
---|---|---|
author | Johan Hovold <johan@kernel.org> | Fri Mar 17 11:35:48 2017 +0100 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Thu Mar 23 13:54:08 2017 +0100 |
tree | a0c2e9ec0825f21c798ebbe2c7138c73014ec55e | |
parent | af59f8955fc572b2a0b61dedfbcd681265a19fde [diff] |
USB: cdc-acm: refactor endpoint retrieval Use the new endpoint helpers to lookup the required bulk-in, bulk-out and interrupt-in endpoints for collapsed interfaces. Note that there is already a check verifying that there are exactly three endpoints so we'd still be bailing out if there's an unexpected endpoint type. Cc: Oliver Neukum <oneukum@suse.com> Signed-off-by: Johan Hovold <johan@kernel.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>