usb serial: ti_usb_3410_5052 obviously broken by firmware changes
authorChris Adams <cmadams@hiwaay.net>
Wed, 10 Sep 2008 21:11:38 +0000 (14:11 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 23 Sep 2008 20:58:09 +0000 (13:58 -0700)
commit2bcbe4c199ec012169f938d2c6b543f50c4925ed
treea11626f1c2d6ad374c2336c9ce95e3ddb03b863c
parent6ef65a7fb609a7aca72730dfb9890f30fcd723bf
usb serial: ti_usb_3410_5052 obviously broken by firmware changes

While making some other changes to ti_usb_3410_5052, I noticed that the
changes made to move the firmware loading to a separate function are
broken (in ti_download_firmware(), status is set to -ENOMEM and never
changed).  This means the driver will never initialize the device
properly.  It looks like status was supposed to get the result of
ti_do_download().

Signed-off-by: Chris Adams <cmadams@hiwaay.net>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/serial/ti_usb_3410_5052.c