OSDN Git Service

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)
committerJohan Hovold <johan@kernel.org>
Wed, 4 Jan 2017 09:37:17 +0000 (10:37 +0100)
commite35d6d7c4e6532a89732cf4bace0e910ee684c88
tree11429c52ef310f401c845e7a32129348a6c053e1
parent2330d0a853da260d8a9834a70df448032b9ff623
USB: serial: io_ti: bind to interface after fw download

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>
drivers/usb/serial/io_ti.c