diff options
author | Johan Hovold <johan@kernel.org> | 2017-03-16 19:13:45 +0300 |
---|---|---|
committer | Johan Hovold <johan@kernel.org> | 2017-03-28 12:00:11 +0300 |
commit | d760557d38ba62a8fe91dec5e32acb4fdf52d9d4 (patch) | |
tree | bb576dacfa7a01e08b49d0b036c4db1ac45c0ef4 /scripts/gdb/linux/utils.py | |
parent | 772b2c5d6c929d9d35e9c915dea8df8c6a799aed (diff) | |
download | linux-d760557d38ba62a8fe91dec5e32acb4fdf52d9d4.tar.xz |
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 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions