USB: serial: io_ti.c: don't return 0 if writing the download record failed
authorRoel Kluin <roel.kluin@gmail.com>
Tue, 10 Aug 2010 21:29:19 +0000 (14:29 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 24 Aug 2010 03:50:16 +0000 (20:50 -0700)
commitfd6e5bbb241720715cee737f534496d7c0ae9022
tree43bc8b85b2039c260f0d451d048be77e3121b2e8
parent461c317705eca5cac09a360f488715927fd0a927
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 <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