diff options
author | Johan Hovold <johan@kernel.org> | 2017-03-16 19:13:47 +0300 |
---|---|---|
committer | Johan Hovold <johan@kernel.org> | 2017-03-28 12:00:12 +0300 |
commit | 95254020235aa0c0f12bfb7d9b4cd18730dfc499 (patch) | |
tree | 46e5f4b1123fb4a988e903ec39de50082effcbc9 /scripts/gdb/linux/utils.py | |
parent | 6a1eaf19f525ed9e4fa09ed1f05c6502a90b4ccb (diff) | |
download | linux-95254020235aa0c0f12bfb7d9b4cd18730dfc499.tar.xz |
USB: serial: mos7840: clean up endpoint sanity check
Clean up the endpoint sanity check by letting core verify the single
interrupt endpoint, and verifying the bulk endpoints in calc_num_ports
after having determined the number of ports.
Note that the static type num_ports field was neither correct or used
(since calc_num_ports never returns zero).
Signed-off-by: Johan Hovold <johan@kernel.org>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions