Searched hist:"95254020235 aa0c0f12bfb7d9b4cd18730dfc499" (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/drivers/usb/serial/ |
H A D | mos7840.c | diff 95254020235aa0c0f12bfb7d9b4cd18730dfc499 Thu Mar 16 11:13:47 CDT 2017 Johan Hovold <johan@kernel.org> 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>
|