summaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/utils.py
diff options
context:
space:
mode:
authorJohan Hovold <johan@kernel.org>2017-03-16 19:13:41 +0300
committerJohan Hovold <johan@kernel.org>2017-03-28 12:00:10 +0300
commit49f4ff2d74f5b6a865f6433c8995855092dcf97a (patch)
treeeb2255a96893ec846bece20172e9a8e844b8d6fe /scripts/gdb/linux/utils.py
parent204cc473bc896134870fda21cd279774b3ead024 (diff)
downloadlinux-49f4ff2d74f5b6a865f6433c8995855092dcf97a.tar.xz
USB: serial: io_ti: use calc_num_endpoints to verify endpoints
Use the calc_num_ports rather than attach callback to verify that the required endpoints are present when in download mode. This avoids allocating port resources for interfaces that won't be bound. Signed-off-by: Johan Hovold <johan@kernel.org>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions