USB: serial: io_ti: always require a bulk-out endpoint
authorJohan Hovold <johan@kernel.org>
Thu, 16 Mar 2017 16:13:42 +0000 (17:13 +0100)
committerJohan Hovold <johan@kernel.org>
Tue, 28 Mar 2017 09:00:10 +0000 (11:00 +0200)
commit8d9c4d9ebffe5ed7be34dad7bc4ef4ab6807c501
tree817d8c1c146c03de9dfcfa445eeb3d506d5d29de
parent49f4ff2d74f5b6a865f6433c8995855092dcf97a
USB: serial: io_ti: always require a bulk-out endpoint

These devices always require at least one bulk-out endpoint so let core
verify that.

This avoids attempting to send bulk data to the default pipe when
downloading firmware in boot mode.

Note that further endpoints are still needed when not in boot mode.

Signed-off-by: Johan Hovold <johan@kernel.org>
drivers/usb/serial/io_ti.c