diff options
| author | Johan Hovold <[email protected]> | 2017-03-16 17:13:30 +0100 |
|---|---|---|
| committer | Johan Hovold <[email protected]> | 2017-03-28 10:54:39 +0200 |
| commit | 07814246dd5530860ef758fd9b2b5f2e26472aa2 (patch) | |
| tree | e27c9ae087d22c49b063e365df2c7f2ba479c253 /net/unix/af_unix.c | |
| parent | 2ac8fc51ddf152fdd2344c6d286976803183d59c (diff) | |
USB: serial: allow subdrivers to modify port-endpoint mapping
Allow subdrivers to modify the port-endpoint mapping by passing the
endpoint descriptors to calc_num_ports.
The callback can now also be used to verify that the required endpoints
exists and abort probing otherwise.
This will allow us to get rid of a few hacks in subdrivers that are
already modifying the port-endpoint mapping (or aborting probe due to
missing endpoints), but only after the port structures have been setup.
Signed-off-by: Johan Hovold <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions