aboutsummaryrefslogtreecommitdiff
path: root/net/unix/af_unix.c
diff options
context:
space:
mode:
authorJohan Hovold <[email protected]>2017-03-16 17:13:41 +0100
committerJohan Hovold <[email protected]>2017-03-28 11:00:10 +0200
commit49f4ff2d74f5b6a865f6433c8995855092dcf97a (patch)
treeeb2255a96893ec846bece20172e9a8e844b8d6fe /net/unix/af_unix.c
parent204cc473bc896134870fda21cd279774b3ead024 (diff)
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 <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions