commit | fd0c883e597493d85d0800629798fc6fcce8e24e | [log] [tgz] |
---|---|---|
author | Johan Hovold <johan@kernel.org> | Thu Mar 02 12:51:23 2017 +0100 |
committer | Johan Hovold <johan@kernel.org> | Thu Mar 16 10:33:43 2017 +0100 |
tree | 9c0274cdac2dc15942fa32ceee3421bc3d4f37a2 | |
parent | e7d6507e5ba7aa015b454f4871d4dec1e751d3ce [diff] |
USB: serial: io_edgeport: simplify and tighten endpoint check Simplify the endpoint sanity check by letting core verify that the required endpoints are present. Also require the presence of a bulk-out endpoint, something which prevents the driver from trying to send bulk messages over the control pipe should a bulk-out endpoint be missing. Signed-off-by: Johan Hovold <johan@kernel.org>