git.openpandora.org
/
pandora-kernel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
USB: serial: io_ti.c: don't return 0 if writing the download record failed
[pandora-kernel.git]
/
drivers
/
usb
/
serial
/
io_ti.c
diff --git
a/drivers/usb/serial/io_ti.c
b/drivers/usb/serial/io_ti.c
index
c3f27c3
..
a7cfc59
100644
(file)
--- a/
drivers/usb/serial/io_ti.c
+++ b/
drivers/usb/serial/io_ti.c
@@
-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