Commit f5230a53 authored by Johan Hovold's avatar Johan Hovold Committed by Greg Kroah-Hartman
Browse files

USB: pl2303: use usb_serial_generic_open

Use generic open rather than calling usb_serial_submit_read_urb

Signed-off-by: default avatarJohan Hovold <>
Signed-off-by: default avatarGreg Kroah-Hartman <>
parent d4691c3f
......@@ -511,7 +511,7 @@ static int pl2303_open(struct tty_struct *tty, struct usb_serial_port *port)
return result;
result = usb_serial_generic_submit_read_urb(port, GFP_KERNEL);
result = usb_serial_generic_open(tty, port);
if (result) {
return result;
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment