mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 10:41:38 -04:00
USB: serial: io_ti.c: don't return 0 if writing the download record failed
If the write download record failed we shouldn't return 0. Signed-off-by: Roel Kluin <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
This commit is contained in:
parent
461c317705
commit
fd6e5bbb24
1 changed files with 1 additions and 1 deletions
|
|
@ -1284,7 +1284,7 @@ static int download_fw(struct edgeport_serial *serial)
|
|||
kfree(header);
|
||||
kfree(rom_desc);
|
||||
kfree(ti_manuf_desc);
|
||||
return status;
|
||||
return -EINVAL;
|
||||
}
|
||||
|
||||
/* Update I2C with type 0xf2 record with correct
|
||||
|
|
|
|||
Loading…
Reference in a new issue