diff options
| author | Johan Hovold <[email protected]> | 2017-03-16 17:13:45 +0100 |
|---|---|---|
| committer | Johan Hovold <[email protected]> | 2017-03-28 11:00:11 +0200 |
| commit | d760557d38ba62a8fe91dec5e32acb4fdf52d9d4 (patch) | |
| tree | bb576dacfa7a01e08b49d0b036c4db1ac45c0ef4 /net/unix/af_unix.c | |
| parent | 772b2c5d6c929d9d35e9c915dea8df8c6a799aed (diff) | |
USB: serial: mos7720: clean up mcs7715 port setup
Clean up the mcs7715 port setup by using the new endpoint-remap
functionality provided by core. Instead of poking around in internal
port-structure fields, simply swap the endpoint descriptors of the two
ports in calc_num_ports before the port structures are even allocated.
Note that we still need to override the default interrupt completion
handler.
Signed-off-by: Johan Hovold <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions