diff options
author | Johan Hovold <johan@kernel.org> | 2017-03-16 17:13:39 +0100 |
---|---|---|
committer | Johan Hovold <johan@kernel.org> | 2017-03-28 11:00:09 +0200 |
commit | 03b72aecadc2d7b0e8f200ec70b853e39a7e55da (patch) | |
tree | 9cc708a4d51f6d9eccbcbdf819ccab7cd2a861be /drivers/usb/serial/qcserial.c | |
parent | 2f16621b9a06c1956eba57a23ff990bd24ceee82 (diff) | |
download | talos-op-linux-03b72aecadc2d7b0e8f200ec70b853e39a7e55da.tar.gz talos-op-linux-03b72aecadc2d7b0e8f200ec70b853e39a7e55da.zip |
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>
Diffstat (limited to 'drivers/usb/serial/qcserial.c')
0 files changed, 0 insertions, 0 deletions