summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorJohan Hovold <johan@kernel.org>2017-03-16 17:13:40 +0100
committerJohan Hovold <johan@kernel.org>2017-03-28 11:00:09 +0200
commit204cc473bc896134870fda21cd279774b3ead024 (patch)
tree55b1f4a471cff134afc698e74b5705b40aaf0193 /tools/perf/scripts/python
parent03b72aecadc2d7b0e8f200ec70b853e39a7e55da (diff)
USB: serial: ipaq: always register a single port
Use the calc_num_ports callback to ignore unused endpoints. The driver binds to any interface with at least one bulk-in and one bulk-out endpoint, but some devices can have three or more endpoints of which only either the first or second pair of endpoints is needed. This avoids allocating resources for unused endpoints, and specifically a port is no longer registered for the unused first endpoint pair when there are more than three endpoints. Signed-off-by: Johan Hovold <johan@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions