USB: serial: io_ti: bind to interface after fw download
authorJohan Hovold <johan@kernel.org>
Tue, 3 Jan 2017 15:39:46 +0000 (16:39 +0100)
committerWilly Tarreau <w@1wt.eu>
Tue, 20 Jun 2017 12:03:17 +0000 (14:03 +0200)
commita1bf279fac23144553a60a4d30ae60fea718e07f
tree2477665211ed2668809b8cf639dc4a8d00cd5c05
parente233c671b6a91ecf0149d8fec0c1baa6b8d628c6
USB: serial: io_ti: bind to interface after fw download

commit e35d6d7c4e6532a89732cf4bace0e910ee684c88 upstream.

Bind to the interface, but do not register any ports, after having
downloaded the firmware. The device will still disconnect and
re-enumerate, but this way we avoid an error messages from being logged
as part of the process:

io_ti: probe of 1-1.3:1.0 failed with error -5

Signed-off-by: Johan Hovold <johan@kernel.org>
Signed-off-by: Willy Tarreau <w@1wt.eu>
drivers/usb/serial/io_ti.c