summaryrefslogtreecommitdiff
path: root/drivers/usb/serial/io_ti.c
diff options
context:
space:
mode:
authorStephen Rothwell <sfr@canb.auug.org.au>2010-08-07 15:16:28 +1000
committerStephen Rothwell <sfr@canb.auug.org.au>2010-08-07 15:16:28 +1000
commitdedf7e919af0a1befadd86231366b19e80a2a353 (patch)
tree5517ae5a625215759970a0f5ace06d4c454d3d7a /drivers/usb/serial/io_ti.c
parent814792a17b3a40dc87f5027b51391818fde3e080 (diff)
parentef9e653d603a81fcac4bb4a2c53025ccb1acb7a5 (diff)
Merge branch 'quilt/usb'
Diffstat (limited to 'drivers/usb/serial/io_ti.c')
-rw-r--r--drivers/usb/serial/io_ti.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/usb/serial/io_ti.c b/drivers/usb/serial/io_ti.c
index 0fca2659206f..dc47f986df57 100644
--- 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
@@ -1321,7 +1321,7 @@ static int download_fw(struct edgeport_serial *serial)
kfree(header);
kfree(rom_desc);
kfree(ti_manuf_desc);
- return status;
+ return -EINVAL;
}
kfree(vheader);