USB: pl2303: add error handling to vendor read and write functions
authorJohan Hovold <jhovold@gmail.com>
Sun, 29 Dec 2013 18:23:01 +0000 (19:23 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 3 Jan 2014 20:31:47 +0000 (12:31 -0800)
commit362eb02603be7bb835c47f2cf585954a5080449d
treeaf97e6a7a5bc5c9edaed645b640ea337ab78c558
parentccfe8188a321f4039a7e52c8336bb4ff3ca35139
USB: pl2303: add error handling to vendor read and write functions

Add error handling and clean up vendor read and write functions.

Signed-off-by: Johan Hovold <jhovold@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/serial/pl2303.c