diff options
author | Johan Hovold <johan@kernel.org> | 2017-03-16 17:13:45 +0100 |
---|---|---|
committer | Johan Hovold <johan@kernel.org> | 2017-03-28 11:00:11 +0200 |
commit | d760557d38ba62a8fe91dec5e32acb4fdf52d9d4 (patch) | |
tree | bb576dacfa7a01e08b49d0b036c4db1ac45c0ef4 /drivers/usb/serial/usb-serial.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 <johan@kernel.org>
Diffstat (limited to 'drivers/usb/serial/usb-serial.c')
0 files changed, 0 insertions, 0 deletions