commit | 95254020235aa0c0f12bfb7d9b4cd18730dfc499 | [log] [tgz] |
---|---|---|
author | Johan Hovold <johan@kernel.org> | Thu Mar 16 17:13:47 2017 +0100 |
committer | Johan Hovold <johan@kernel.org> | Tue Mar 28 11:00:12 2017 +0200 |
tree | 46e5f4b1123fb4a988e903ec39de50082effcbc9 | |
parent | 6a1eaf19f525ed9e4fa09ed1f05c6502a90b4ccb [diff] |
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>