commit | 03b72aecadc2d7b0e8f200ec70b853e39a7e55da | [log] [tgz] |
---|---|---|
author | Johan Hovold <johan@kernel.org> | Thu Mar 16 17:13:39 2017 +0100 |
committer | Johan Hovold <johan@kernel.org> | Tue Mar 28 11:00:09 2017 +0200 |
tree | 9cc708a4d51f6d9eccbcbdf819ccab7cd2a861be | |
parent | 2f16621b9a06c1956eba57a23ff990bd24ceee82 [diff] |
USB: serial: ipaq: use calc_num_endpoints to verify endpoints Use the calc_num_ports rather than attach callback to determine which interface to bind to in order to avoid allocating port-resources for interfaces that won't be bound. Signed-off-by: Johan Hovold <johan@kernel.org>