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>
This commit is contained in:
parent
2330d0a853
commit
e35d6d7c4e
1 changed files with 1 additions and 2 deletions
|
@ -1499,8 +1499,7 @@ static int do_boot_mode(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:
|
||||||
|
|
Loading…
Reference in a new issue