USB: pl2303: return errors from usb_submit_urb in open
authorJohan Hovold <jhovold@gmail.com>
Sun, 6 Nov 2011 18:06:34 +0000 (19:06 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 15 Nov 2011 18:43:14 +0000 (10:43 -0800)
commitdb6e9186c90188edea20aaa5161ea073440cc2a1
treeb538b05a5f6ca18da4bc0db0dd7ccaa3f57d3499
parentac3695fb74f27ae36632bcc2d83c0f2c8c4a7ca2
USB: pl2303: return errors from usb_submit_urb in open

Return errors from usb_submit_urb rather than EPROTO on errors in open.

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