Commit a1bf279f authored by Johan Hovold's avatar Johan Hovold Committed by Willy Tarreau

USB: serial: io_ti: bind to interface after fw download

commit e35d6d7c 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: default avatarJohan Hovold <johan@kernel.org>
Signed-off-by: default avatarWilly Tarreau <w@1wt.eu>
parent e233c671
...@@ -1393,8 +1393,7 @@ static int download_fw(struct edgeport_serial *serial) ...@@ -1393,8 +1393,7 @@ static int download_fw(struct edgeport_serial *serial)
dev_dbg(dev, "%s - Download successful -- Device rebooting...\n", __func__); dev_dbg(dev, "%s - Download successful -- Device rebooting...\n", __func__);
/* return an error on purpose */ return 1;
return -ENODEV;
} }
stayinbootmode: stayinbootmode:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment