projects
/
GitHub
/
mt8127
/
android_kernel_alcatel_ttab.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
10d0ca0
)
USB: io_ti.c: don't return 0 if writing the download record failed
author
Roel Kluin
<roel.kluin@gmail.com>
Tue, 20 Jul 2010 22:29:08 +0000
(15:29 -0700)
committer
Greg Kroah-Hartman
<gregkh@suse.de>
Tue, 10 Aug 2010 21:35:40 +0000
(14:35 -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
|
blame
|
history
diff --git
a/drivers/usb/serial/io_ti.c
b/drivers/usb/serial/io_ti.c
index 03696b91bd6d0d75ffc7c0ca523a9acd01e77777..dc47f986df57f739b18ceb121dc8f19b0acd8c23 100644
(file)
--- a/
drivers/usb/serial/io_ti.c
+++ b/
drivers/usb/serial/io_ti.c
@@
-1298,7
+1298,7
@@
static int download_fw(struct edgeport_serial *serial)
kfree(header);
kfree(rom_desc);
kfree(ti_manuf_desc);
- return
status
;
+ return
-EINVAL
;
}
/* verify the write -- must do this in order for