projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
461c317
)
USB: serial: io_ti.c: don't return 0 if writing the download record failed
author
Roel Kluin
<roel.kluin@gmail.com>
Tue, 10 Aug 2010 21:29:19 +0000
(14:29 -0700)
committer
Greg Kroah-Hartman
<gregkh@suse.de>
Tue, 24 Aug 2010 03:50:16 +0000
(20:50 -0700)
If the write download record failed we shouldn't return 0.
Signed-off-by: Roel Kluin <roel.kluin@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/serial/io_ti.c
patch
|
blob
|
history
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