USB: fix error handling in kl5kusb
authorOliver Neukum <oneukum@suse.de>
Thu, 29 Mar 2007 09:23:54 +0000 (11:23 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 27 Apr 2007 20:28:38 +0000 (13:28 -0700)
commit9306fff17d3852e088dfc512e6f6673f3d80e71e
treeb682c2103a2ddfbab2e7186fd462812c8c106739
parent5a9f4e338179e75e7e9b56293acb17023e342d81
USB: fix error handling in kl5kusb

- report errors
- cleanup in error case
- use of endianness macros

Signed-off-by: Oliver Neukum <oneukum@suse.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/serial/kl5kusb105.c